Method: UnitMeasurements::ParseError#string

Defined in:
lib/unit_measurements/errors/parse_error.rb

#stringString (readonly)

The input string that caused the error while parsing.

Author:

Since:

  • 1.0.0



23
24
25
# File 'lib/unit_measurements/errors/parse_error.rb', line 23

def string
  @string
end