Class: MotionPixateLayout::Layout

Inherits:
Object
  • Object
show all
Defined in:
lib/motion-pixate-layout/layout.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLayout

Returns a new instance of Layout.



6
7
8
9
10
# File 'lib/motion-pixate-layout/layout.rb', line 6

def initialize
  @before = []
  @after = []
  @blocks = []
end

Instance Attribute Details

#afterObject (readonly)

Returns the value of attribute after.



4
5
6
# File 'lib/motion-pixate-layout/layout.rb', line 4

def after
  @after
end

#beforeObject (readonly)

Returns the value of attribute before.



4
5
6
# File 'lib/motion-pixate-layout/layout.rb', line 4

def before
  @before
end

#blocksObject (readonly)

Returns the value of attribute blocks.



4
5
6
# File 'lib/motion-pixate-layout/layout.rb', line 4

def blocks
  @blocks
end

#selectorObject

Returns the value of attribute selector.



3
4
5
# File 'lib/motion-pixate-layout/layout.rb', line 3

def selector
  @selector
end

#view_attributesObject

Returns the value of attribute view_attributes.



3
4
5
# File 'lib/motion-pixate-layout/layout.rb', line 3

def view_attributes
  @view_attributes
end