Class: Radius::Drop

Inherits:
Object
  • Object
show all
Includes:
ActionView::Helpers::AssetTagHelper, ActionView::Helpers::TagHelper, Taggable
Defined in:
lib/radius/template/radius_drop.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Taggable

#arrays, included, #objects, #render_tag, #return_array, #return_object, #tags

Instance Attribute Details

#templateObject

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