Class: User
- Inherits:
-
Object
- Object
- User
- Defined in:
- lib/glimmer-dsl-web/samples/hello/hello_content_data_binding.rb
Instance Attribute Summary collapse
-
#address_count ⇒ Object
Returns the value of attribute address_count.
-
#addresses ⇒ Object
Returns the value of attribute addresses.
Instance Method Summary collapse
-
#initialize ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize ⇒ User
Returns a new instance of User.
44 45 46 47 48 |
# File 'lib/glimmer-dsl-web/samples/hello/hello_content_data_binding.rb', line 44 def initialize @address_count = 1 @addresses = [] update_addresses end |
Instance Attribute Details
#address_count ⇒ Object
Returns the value of attribute address_count.
42 43 44 |
# File 'lib/glimmer-dsl-web/samples/hello/hello_content_data_binding.rb', line 42 def address_count @address_count end |
#addresses ⇒ Object
Returns the value of attribute addresses.
41 42 43 |
# File 'lib/glimmer-dsl-web/samples/hello/hello_content_data_binding.rb', line 41 def addresses @addresses end |