Sha256: 7b4626ce537fa4b10261693ece109705f7e20958321b9cba82b37c42ea1a2127
Contents?: true
Size: 484 Bytes
Versions: 2
Compression:
Stored size: 484 Bytes
Contents
module SketchilyTag module ActionViewBaseInstanceMethods def sketchily_tag(name, value = nil, options = {}) self.render( :partial => "sketchily/sketchily_tag", :locals => { :name => name, :id => sanitize_to_id(name), :value => value, :options => options } ) end alias_method :svg_edit_tag, :sketchily_tag end end ActionView::Base.send :include, SketchilyTag::ActionViewBaseInstanceMethods
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sketchily-4.0.1 | lib/sketchily/sketchily_tag.rb |
sketchily-4.0.0 | lib/sketchily/sketchily_tag.rb |