Class: PointRb::Layout

Inherits:
Object
  • Object
show all
Defined in:
lib/pointrb/layout.rb

Overview

layouts

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLayout

Returns a new instance of Layout.



7
8
9
# File 'lib/pointrb/layout.rb', line 7

def initialize
  @actions = []
end

Instance Attribute Details

#actionsObject

Returns the value of attribute actions.



5
6
7
# File 'lib/pointrb/layout.rb', line 5

def actions
  @actions
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/pointrb/layout.rb', line 5

def name
  @name
end

Instance Method Details

#createObject



11
12
13
# File 'lib/pointrb/layout.rb', line 11

def create
  @actions.each { |a| a.create }
end