spec/fixtures/program_3.rb in snuffle-0.11.1 vs spec/fixtures/program_3.rb in snuffle-0.12.0
- old
+ new
@@ -2,11 +2,19 @@
class Customer
attr_accessor :customer_id, :customer_name, :company_name
attr_accessor :street_address_1, :street_address_2
attr_accessor :city, :state, :postal_code
+ attr_accessor :fred
MY_CONSTANT = "TheOtherZachIsThePrimaryZach"
+
+ def who_is_fred
+ {
+ :status => 'friend',
+ :name => self.fred
+ }
+ end
def my_condition
puts "MAGIC" if true == false
end
\ No newline at end of file