Sha256: 0b8c5222c8c4ee7e25eea610b67575c739ff1546aca8b324254f18e7240e6188
Contents?: true
Size: 372 Bytes
Versions: 134
Compression:
Stored size: 372 Bytes
Contents
module Lalala::Markdown::InputHelper extend ActiveSupport::Concern def input(method, options = {}) if ( @object.respond_to?("#{method}_html") ) input_html = options[:input_html] || {} input_html[:class] = [input_html[:class], 'markdown'].flatten.compact.join(" ") options[:input_html] = input_html end super(method, options) end end
Version data entries
134 entries across 134 versions & 1 rubygems