Class: User

Inherits:
Object
  • Object
show all
Defined in:
lib/glimmer-dsl-web/samples/hello/hello_content_data_binding.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeUser

Returns a new instance of User.



64
65
66
67
68
# File 'lib/glimmer-dsl-web/samples/hello/hello_content_data_binding.rb', line 64

def initialize
  @address_count = 1
  @addresses = []
  update_addresses
end

Instance Attribute Details

#address_countObject

Returns the value of attribute address_count.



62
63
64
# File 'lib/glimmer-dsl-web/samples/hello/hello_content_data_binding.rb', line 62

def address_count
  @address_count
end

#addressesObject

Returns the value of attribute addresses.



61
62
63
# File 'lib/glimmer-dsl-web/samples/hello/hello_content_data_binding.rb', line 61

def addresses
  @addresses
end