Class: MusicBrainz::Webservice::MBXML
- Inherits:
-
Object
- Object
- MusicBrainz::Webservice::MBXML
- Defined in:
- lib/englify.rb
Instance Method Summary collapse
-
#initialize(stream, factory = nil) ⇒ MBXML
constructor
A new instance of MBXML.
- #old_initialize ⇒ Object
Constructor Details
#initialize(stream, factory = nil) ⇒ MBXML
Returns a new instance of MBXML.
15 16 17 18 |
# File 'lib/englify.rb', line 15 def initialize(stream, factory=nil) stream.set_encoding 'UTF-8' old_initialize(stream, factory) end |
Instance Method Details
#old_initialize ⇒ Object
14 |
# File 'lib/englify.rb', line 14 alias old_initialize initialize |