Class: PointRb::Layout
- Inherits:
-
Object
- Object
- PointRb::Layout
- Defined in:
- lib/pointrb/layout.rb
Overview
layouts
Instance Attribute Summary collapse
-
#actions ⇒ Object
Returns the value of attribute actions.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize ⇒ Layout
constructor
A new instance of Layout.
Constructor Details
#initialize ⇒ Layout
Returns a new instance of Layout.
7 8 9 |
# File 'lib/pointrb/layout.rb', line 7 def initialize @actions = [] end |
Instance Attribute Details
#actions ⇒ Object
Returns the value of attribute actions.
5 6 7 |
# File 'lib/pointrb/layout.rb', line 5 def actions @actions end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/pointrb/layout.rb', line 5 def name @name end |
Instance Method Details
#create ⇒ Object
11 12 13 |
# File 'lib/pointrb/layout.rb', line 11 def create @actions.each { |a| a.create } end |