Class: View::DefinitionList::Attribute
- Inherits:
-
Struct
- Object
- Struct
- View::DefinitionList::Attribute
- Defined in:
- lib/view/formatters/definition_list.rb
Overview
Helper class for definition lists
Instance Attribute Summary (collapse)
-
- (Object) attribute
Returns the value of attribute attribute.
-
- (Object) block
Returns the value of attribute block.
-
- (Object) options
Returns the value of attribute options.
-
- (Object) resource
Returns the value of attribute resource.
-
- (Object) template
Returns the value of attribute template.
Instance Method Summary (collapse)
Instance Attribute Details
- (Object) attribute
Returns the value of attribute attribute
67 68 69 |
# File 'lib/view/formatters/definition_list.rb', line 67 def attribute @attribute end |
- (Object) block
Returns the value of attribute block
67 68 69 |
# File 'lib/view/formatters/definition_list.rb', line 67 def block @block end |
- (Object) options
Returns the value of attribute options
67 68 69 |
# File 'lib/view/formatters/definition_list.rb', line 67 def @options end |
- (Object) resource
Returns the value of attribute resource
67 68 69 |
# File 'lib/view/formatters/definition_list.rb', line 67 def resource @resource end |
- (Object) template
Returns the value of attribute template
67 68 69 |
# File 'lib/view/formatters/definition_list.rb', line 67 def template @template end |
Instance Method Details
- (Object) dd
73 74 75 |
# File 'lib/view/formatters/definition_list.rb', line 73 def dd tag :dd, value end |
- (Object) dt
69 70 71 |
# File 'lib/view/formatters/definition_list.rb', line 69 def dt tag :dt, name end |