Method: HashTML::Text#initialize
- Defined in:
- lib/hashtml.rb
#initialize(text) ⇒ Text
Returns a new instance of Text.
186 187 188 |
# File 'lib/hashtml.rb', line 186 def initialize(text) @text = text end |
Returns a new instance of Text.
186 187 188 |
# File 'lib/hashtml.rb', line 186 def initialize(text) @text = text end |