Class: OsuRuby::Parser::RawEntry

Inherits:
Entry
  • Object
show all
Defined in:
(osu-ruby2 0.0.2) osu-ruby2/parser/content.rb

Overview

“No Parsing” parser.

Always used as fallback during Entry.determine function.

Direct Known Subclasses

CommentEntry

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Entry

#comment?, determine, inherited, register_checker

Methods included from Interface::MultiplexerInterface

extended

Constructor Details

#initialize(str) ⇒ RawEntry

store content within n parsing wrapper.

Parameters:

  • str (String)

Instance Attribute Details

#contentString

original string without any special strings to be returned.

Returns:

  • (String)

Class Method Details

.condition(str) ⇒ Boolean

Returns always returns true.

Returns:

  • (Boolean)

    always returns true

Instance Method Details

#to_sString

Returns original content.

Returns:

  • (String)

    original content