Sha256: 8af864e993837f4381f29114336226020032753d93a5819c39f5c3e732ef25d1
Contents?: true
Size: 371 Bytes
Versions: 2
Compression:
Stored size: 371 Bytes
Contents
# since I love the haml pretty-printed output so much, # this makes it so I can use that instead of the built in # rails ugly printing module Insightful module Adapter def render_tag(name, *args, &block) if self.respond_to?("is_haml?".to_sym) and is_haml? haml_tag(name.to_sym, options) else tag(name.to_sym) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
insightful-0.0.1.6 | lib/insightful/adapter.rb |
insightful-0.0.1.5 | lib/insightful/adapter.rb |