Class: SydneyAliasFile::AliasComment
- Inherits:
-
SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- SyntaxNode
- SydneyAliasFile::AliasComment
- Defined in:
- lib/sydney/sydney_alias_file/node_extensions.rb
Instance Method Summary collapse
-
#to_s ⇒ Object
Return the comment without the preceding # and surrounding whitespace.
Instance Method Details
#to_s ⇒ Object
Return the comment without the preceding # and surrounding whitespace
59 60 61 |
# File 'lib/sydney/sydney_alias_file/node_extensions.rb', line 59 def to_s comment_text.text_value.strip end |