module Tvdbjson::Hashable
Public Instance Methods
to_hash()
click to toggle source
# File lib/tvdbjson/hashable.rb, line 4 def to_hash hash = {} instance_variables.each {|var| hash[var.to_s.delete("@")] = instance_variable_get(var) } hash end