Class: OsuRuby::Beatmap::BasicParser

Inherits:
Parser::RawFile show all
Defined in:
(osu-ruby2 0.0.2) osu-ruby2/beatmap/parser.rb

Overview

Simple parser that allows Beatmap parsing capability.

Instance Attribute Summary

Attributes inherited from Parser::RawFile

#sections

Instance Method Summary collapse

Methods inherited from Parser::RawFile

#initialize, #parse, #parse_sections

Methods inherited from Parser::Base

#initialize, load, #parse, #write

Constructor Details

This class inherits a constructor from OsuRuby::Parser::RawFile

Instance Method Details

#convertBeatmap::Data #convert(bm) ⇒ Beatmap::Data

Overloads:

  • #convertBeatmap::Data

    create new object using given parsed structure data.

    Returns:

  • #convert(bm) ⇒ Beatmap::Data
    Note:

    using this form will overwrite all data on given beatmap object. use this with care.

    Returns content refreshed beatmap object.

    Parameters:

    Returns:

#parse_header(io)

This method returns an undefined value.

parse file header if any

Parameters:

  • io (#read)

    Readable IO stream to parse