Class: BetterHtml::BetterErb::ValidatedOutputBuffer
- Inherits:
-
Object
- Object
- BetterHtml::BetterErb::ValidatedOutputBuffer
- Defined in:
- lib/better_html/better_erb/validated_output_buffer.rb
Defined Under Namespace
Classes: Context
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#html_safe ⇒ Object
165 166 167 |
# File 'lib/better_html/better_erb/validated_output_buffer.rb', line 165 def html_safe self.class.new(@output) end |
#html_safe? ⇒ Boolean
161 162 163 |
# File 'lib/better_html/better_erb/validated_output_buffer.rb', line 161 def html_safe? true end |
#to_s ⇒ Object
169 170 171 |
# File 'lib/better_html/better_erb/validated_output_buffer.rb', line 169 def to_s @output.html_safe end |