Class: Hocon::Impl::Tokens::Comment::HashComment
- Inherits:
-
Hocon::Impl::Tokens::Comment
- Object
- Hocon::Impl::Tokens::Comment
- Hocon::Impl::Tokens::Comment::HashComment
- Defined in:
- lib/hocon/impl/tokens.rb
Instance Attribute Summary
Attributes inherited from Hocon::Impl::Tokens::Comment
Instance Method Summary collapse
-
#initialize(origin, text) ⇒ HashComment
constructor
A new instance of HashComment.
- #token_text ⇒ Object
Methods inherited from Hocon::Impl::Tokens::Comment
#==, #can_equal, #hash, #to_s
Constructor Details
#initialize(origin, text) ⇒ HashComment
Returns a new instance of HashComment.
214 215 216 |
# File 'lib/hocon/impl/tokens.rb', line 214 def initialize(origin, text) super(origin, text) end |
Instance Method Details
#token_text ⇒ Object
218 219 220 |
# File 'lib/hocon/impl/tokens.rb', line 218 def token_text "#" + @text end |