Method: Layout#index

Defined in:
lib/baa_chan/layout.rb

#index(attr_name = caller_locations.first.label) ⇒ Object



20
21
22
# File 'lib/baa_chan/layout.rb', line 20

def index(attr_name = caller_locations.first.label)
  attributes[attr_name]['index'].to_i
end