Class: Html::Comment

Inherits:
Base show all
Defined in:
lib/html/base.rb

Overview

Handler for adding HTML comments inline.

Instance Method Summary collapse

Methods inherited from Base

#attributes, #initialize, #processed_output, tag, #tag

Constructor Details

This class inherits a constructor from Html::Base

Instance Method Details

#<<(other) ⇒ Object



116
117
118
# File 'lib/html/base.rb', line 116

def << (other)
  "\n<!-- #{other} -->\n"
end