This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Geek < Person | |
include StarWarsFan | |
end | |
class SeniorSoftwareDeveloper < Geek | |
def initialize(information, ruby_projects = []) | |
@likes = ["Ruby", "JavaScript", "Software Meetups", "Startups", "Code Reviews"] | |
@minimum_qualifications = [ "2 years of ruby, 1 year if you kicked butt", | |
"Writes tests for code.", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to render rails 3.0 views within rake tasks. | |
# | |
# Description: An example of how to render a view within a rake task, | |
# complete with instance variables, application & url helpers and I18n. | |
# | |
# License: X11 license | |
# | |
# Copyright (c) 2010 Kim Burgestrand <http://burgestrand.se/> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy |