Sha256: 72f43731a94ad821d1cd4532effe8ad5875f0e3b375674107561a341e34c6b6e
Contents?: true
Size: 370 Bytes
Versions: 1
Compression:
Stored size: 370 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 Represent 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
represent-0.0.1.5 | lib/represent/adapter.rb |