Method: ATMFormatter::Configuration#to_hash
- Defined in:
- lib/configuration.rb
#to_hash ⇒ Object
27 28 29 30 31 |
# File 'lib/configuration.rb', line 27 def to_hash hash = {} instance_variables.each { |var| hash[var.to_s.delete('@').to_sym] = instance_variable_get(var) } hash end |