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.



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

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

Instance Attribute Details

#address_countObject

Returns the value of attribute address_count.



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

def address_count
  @address_count
end

#addressesObject

Returns the value of attribute addresses.



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

def addresses
  @addresses
end