Open mustmodify opened 8 years ago
class Person < Valuable has_value :first_name has_value :last_name has_value :initials, :default => {|person| person.first_name[0] + person.last_name[0] } # needs some nil checking end
@andrewcsmith wants :lazy => true to run on demand rather than on init