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
| # http://rake.rubyforge.org/ | |
| $:.push('lib') | |
| require 'sales_engine' | |
| def cleanup | |
| puts "Cleaning Up My Mess" | |
| end | |
| task :environment do | |
| puts "Loading Environment" |
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
| require 'highline/import' | |
| class Question | |
| attr_reader :text, :important, :validation, :answer | |
| def initialize(input) | |
| @text = input[:text] | |
| @important = input[:important] | |
| @validation = input[:validation] ||= /.*/ | |
| end |
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
| http://tutorials.jumpstartlab.com/academy/sessions/gschool0/130213.html | |
| http://tutorials.jumpstartlab.com/academy/sessions/gschool0/130215.html | |
| http://tutorials.jumpstartlab.com/academy/sessions/gschool0/130218.html | |
| Refactoring: | |
| http://tutorials.jumpstartlab.com/academy/sessions/gschool0/130219.html | |
| Rake Tasks and Testing: |
NewerOlder