Class Index [+]

Quicksearch

ActionView::Helpers::TagHelper

Public Instance Methods

content_tag(name, *args, &block) click to toggle source
Also aliased as: content_tag_without_haml
content_tag_with_haml(name, *args, &block) click to toggle source
     # File lib/haml/helpers/action_view_mods.rb, line 101
101:       def content_tag_with_haml(name, *args, &block)
102:         return content_tag_without_haml(name, *args, &block) unless is_haml?
103: 
104:         preserve = haml_buffer.options[:preserve].include?(name.to_s)
105: 
106:         if block_given? && block_is_haml?(block) && preserve
107:           return content_tag_without_haml(name, *args) {preserve(&block)}
108:         end
109: 
110:         content = content_tag_without_haml(name, *args, &block)
111:         content = Haml::Helpers.preserve(content) if preserve && content
112:         content
113:       end
Also aliased as: content_tag
content_tag_without_haml(name, *args, &block) click to toggle source
Alias for: content_tag

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.