Class: OsuRuby::Parser::SplitEntry Abstract
- Defined in:
- (osu-ruby2 0.0.2) osu-ruby2/parser/content.rb
Overview
This class is abstract.
This is an abstract class of Separator-Split Parser
Direct Known Subclasses
Class Method Summary collapse
-
.method_added(meth)
automatically private methods for #_upcast and #_downcast.
-
.splitter ⇒ String
obtain the class splitter.
-
.splitter=(sep)
configures the class splitter.
Instance Method Summary collapse
-
#[](key) ⇒ Integer, ...
access the splitter indices.
-
#[]=(key, value)
assigns value to the array.
-
#initialize(str) ⇒ SplitEntry
constructor
Splits string based on class SplitEntry.splitter.
- #to_s ⇒ String
Methods inherited from Entry
#comment?, condition, determine, register_checker
Methods included from Interface::MultiplexerInterface
Constructor Details
#initialize(str) ⇒ SplitEntry
Splits string based on class splitter.
Class Method Details
.method_added(meth)
This method returns an undefined value.
automatically private methods for #_upcast and #_downcast.
.splitter ⇒ String
obtain the class splitter.
.splitter=(sep)
This method returns an undefined value.
configures the class splitter.
Instance Method Details
#[](key) ⇒ Integer, ...
Note:
It's not advised to use negative index as it may lead to unwanted behavior upon upcasting.
access the splitter indices
#[]=(key, value)
This method returns an undefined value.
assigns value to the array