Class: OsuRuby::Parser::CommentEntry
- Defined in:
- (osu-ruby2 0.0.2) osu-ruby2/parser/content.rb
Overview
Comment based parser.
Instance Attribute Summary
Attributes inherited from RawEntry
Class Method Summary collapse
-
.condition(str) ⇒ Boolean
checks whether given string is a comment or not.
Instance Method Summary collapse
-
#comment? ⇒ Boolean
marks given entry are comment type.
-
#initialize(str) ⇒ CommentEntry
constructor
A new instance of CommentEntry.
-
#to_s ⇒ String
Retains comment marker for given string.
Methods inherited from Entry
determine, inherited, register_checker
Methods included from Interface::MultiplexerInterface
Constructor Details
#initialize(str) ⇒ CommentEntry
Returns a new instance of CommentEntry.
Class Method Details
.condition(str) ⇒ Boolean
checks whether given string is a comment or not.
Instance Method Details
#comment? ⇒ Boolean
marks given entry are comment type.
#to_s ⇒ String
Returns retains comment marker for given string.