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.
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_count ⇒ Object
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 |
#addresses ⇒ Object
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 |