Class: Payture::Parser
- Inherits:
-
Object
- Object
- Payture::Parser
- Defined in:
- lib/payture/parser.rb
Instance Method Summary collapse
-
#parse(data) ⇒ Object
klass = nil def init(className) klass = Object.const_get className end.
Instance Method Details
#parse(data) ⇒ Object
klass = nil def init(className)
klass = Object.const_get className
end
8 9 10 11 12 |
# File 'lib/payture/parser.rb', line 8 def parse(data) data.each do |k,v| puts "#{k}: #{v}" end end |