Class: MusicBrainz::Webservice::MBXML

Inherits:
Object
  • Object
show all
Defined in:
lib/englify.rb

Instance Method Summary collapse

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_initializeObject



14
# File 'lib/englify.rb', line 14

alias old_initialize initialize