Sha256: dca4fcb5ece9cf40feebf167a1543a94e7b71791a498a5d30c70d60574ad0b56
Contents?: true
Size: 494 Bytes
Versions: 1
Compression:
Stored size: 494 Bytes
Contents
module MethodDrawTag module ActionViewBaseInstanceMethods def method_draw_tag(name, value = nil, options = {}) self.render( :partial => "method_draw/method_draw_tag", :locals => { :name => name, :id => sanitize_to_id(name), :value => value, :options => options } ) end alias_method :svg_edit_tag, :method_draw_tag end end ActionView::Base.send :include, MethodDrawTag::ActionViewBaseInstanceMethods
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
method_draw-0.0.1 | lib/method_draw/method_draw_tag.rb |