Class: Yoda::Parsing::CommentTokenizer::Text
- Inherits:
-
Object
- Object
- Yoda::Parsing::CommentTokenizer::Text
- Defined in:
- lib/yoda/parsing/comment_tokenizer.rb
Instance Attribute Summary collapse
- #content ⇒ Parslet::Slice readonly
Instance Method Summary collapse
-
#initialize(content) ⇒ Text
constructor
A new instance of Text.
Constructor Details
#initialize(content) ⇒ Text
Returns a new instance of Text.
70 71 72 |
# File 'lib/yoda/parsing/comment_tokenizer.rb', line 70 def initialize(content) @content = content end |
Instance Attribute Details
#content ⇒ Parslet::Slice (readonly)
67 68 69 |
# File 'lib/yoda/parsing/comment_tokenizer.rb', line 67 def content @content end |