Class: OsuRuby::Database::Datatype::Converter Private
- Inherits:
-
Object
- Object
- OsuRuby::Database::Datatype::Converter
- Defined in:
- (osu-ruby2 0.0.2) osu-ruby2/database/datatype.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Anything shown in here is merely a generated value. Please consult the source code for what you want to see.
This class is instantly removed from direct references once finished instantiation of its subclasses. Only used for references.
a simple wrapper for a Psuedo-class system to encode data back and forth.
Class Method Summary collapse
-
.create(name, enc, dec) ⇒ Converter
private
registers the name into the Datatype namespace with both encoding and decoding support.
Instance Method Summary collapse
-
#decode(x) ⇒ Object
private
convert to given data.
-
#encode(x) ⇒ Object
private
convert to “STRING”.
Class Method Details
.create(name, enc, dec) ⇒ Converter
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
registers the name into the Datatype namespace with both encoding and decoding support
Instance Method Details
#decode(x) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
convert to given data
#encode(x) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
convert to “STRING”