Class: Radius::Drop
- Inherits:
-
Object
- Object
- Radius::Drop
- Includes:
- ActionView::Helpers::AssetTagHelper, ActionView::Helpers::TagHelper, Taggable
- Defined in:
- lib/radius/template/radius_drop.rb
Instance Attribute Summary collapse
-
#template ⇒ Object
Returns the value of attribute template.
Instance Method Summary collapse
Methods included from Taggable
#arrays, included, #objects, #render_tag, #return_array, #return_object, #tags
Instance Attribute Details
#template ⇒ Object
Returns the value of attribute template.
63 64 65 |
# File 'lib/radius/template/radius_drop.rb', line 63 def template @template end |
Instance Method Details
#locals=(locals = {}) ⇒ Object
65 66 67 68 69 |
# File 'lib/radius/template/radius_drop.rb', line 65 def locals=(locals={}) locals.each do |key, value| self.instance_variable_set(:"@#{key}", value) end end |