Created
August 5, 2013 03:34
-
-
Save christopherslee/6153296 to your computer and use it in GitHub Desktop.
Intro to DSLs - Part 1 Answer
This file contains 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
# lib/part_2/customer.rb | |
class Customer | |
attr_accessor :balance | |
def good_standing? | |
balance >= 0 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment