Class: RubyApp::Elements::List
- Inherits:
-
RubyApp::Element
- Object
- RubyApp::Element
- RubyApp::Elements::List
- Defined in:
- lib/ruby_app/elements/list.rb
Direct Known Subclasses
Defined Under Namespace
Classes: ClickedEvent
Instance Attribute Summary collapse
-
#items ⇒ Object
Returns the value of attribute items.
Attributes inherited from RubyApp::Element
Instance Method Summary collapse
-
#initialize ⇒ List
constructor
A new instance of List.
Methods inherited from RubyApp::Element
#element_id, get_content_type, get_element
Methods included from Mixins::ConfigurationMixin
Methods included from Mixins::TranslateMixin
Methods included from Mixins::TemplateMixin
#exclude_parent_template, #exclude_parent_template?, #get_template, #get_templates, #template_name, #template_path
Methods included from Mixins::RenderMixin
#content_for, #render, #rendered?, #templates
Constructor Details
#initialize ⇒ List
Returns a new instance of List.
35 36 37 38 |
# File 'lib/ruby_app/elements/list.rb', line 35 def initialize super @items = [] end |
Instance Attribute Details
#items ⇒ Object
Returns the value of attribute items.
31 32 33 |
# File 'lib/ruby_app/elements/list.rb', line 31 def items @items end |