Module: Locomotive::Steam::Liquid::Tags::Concerns::Attributes

Included in:
Locomotive::Steam::Liquid::Tags::Consume, Editable::Base, InheritedBlock, LinkTo, LocaleSwitcher, ModelForm, Paginate, PathTo, RedirectTo, Section, WithScope
Defined in:
lib/locomotive/steam/liquid/tags/concerns/attributes.rb

Overview

Many of Liquid tags have attributes (like options) This module makes sure we use the same reliable way to extract and evaluate them.

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



13
14
15
# File 'lib/locomotive/steam/liquid/tags/concerns/attributes.rb', line 13

def attributes
  @attributes
end

#raw_attributesObject (readonly)

Returns the value of attribute raw_attributes.



13
14
15
# File 'lib/locomotive/steam/liquid/tags/concerns/attributes.rb', line 13

def raw_attributes
  @raw_attributes
end