Sha256: 34c9168ad90f7d17a79216284b0db6abef1bb5d7b5e81457db259e2b0665ff69

Contents?: true

Size: 183 Bytes

Versions: 12

Compression:

Stored size: 183 Bytes

Contents

require File.dirname(__FILE__) + '/phone_number'

class Person < Valuable
  has_value :name
  has_value :age, :klass => :integer
  has_value :phone_number, :klass => PhoneNumber
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
valuable-0.9.14 examples/person.rb
valuable-0.9.13 examples/person.rb
valuable-0.9.12 examples/person.rb
valuable-0.9.11 examples/person.rb
valuable-0.9.10 examples/person.rb
valuable-0.9.9 examples/person.rb
valuable-0.9.8 examples/person.rb
valuable-0.9.7 examples/person.rb
valuable-0.9.6 examples/person.rb
valuable-0.9.5 examples/person.rb
valuable-0.9.4 examples/person.rb
valuable-0.9.3 examples/person.rb