Method: Raven::Interface#to_hash
- Defined in:
- lib/raven/interface.rb
#to_hash ⇒ Object
21 22 23 |
# File 'lib/raven/interface.rb', line 21 def to_hash Hash[instance_variables.map { |name| [name[1..-1].to_sym, instance_variable_get(name)] }] end |