Class: JSON::Pure::Parser
- Inherits:
-
Object
- Object
- JSON::Pure::Parser
- Defined in:
- lib/paytunia.rb
Instance Method Summary collapse
Instance Method Details
#parse_value ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/paytunia.rb', line 13 def parse_value case when scan(FLOAT) BigDecimal(self[1]) else parse_value_original end end |
#parse_value_original ⇒ Object
11 |
# File 'lib/paytunia.rb', line 11 alias_method :parse_value_original, :parse_value |