class RPG::AudioFile
Public Class Methods
new(hash)
click to toggle source
# File lib/rmxp_extractor/classnames.rb, line 464 def initialize(hash) @name = hash["name"] @volume = hash["volume"] @pitch = hash["pitch"] end
Public Instance Methods
hash()
click to toggle source
# File lib/rmxp_extractor/classnames.rb, line 470 def hash dump = { name: @name.force_encoding("iso-8859-1").encode("utf-8"), volume: @volume, pitch: @pitch, } end