Exception: InvalidStringLiteralError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- InvalidStringLiteralError
- Defined in:
- app/exceptions/invalid_string_literal_error.rb
Instance Attribute Summary collapse
-
#original ⇒ Object
readonly
Returns the value of attribute original.
Instance Method Summary collapse
-
#initialize(msg, original = $!) ⇒ InvalidStringLiteralError
constructor
A new instance of InvalidStringLiteralError.
Constructor Details
#initialize(msg, original = $!) ⇒ InvalidStringLiteralError
Returns a new instance of InvalidStringLiteralError.
3 4 5 6 |
# File 'app/exceptions/invalid_string_literal_error.rb', line 3 def initialize(msg, original = $!) super(msg) @original = original; end |
Instance Attribute Details
#original ⇒ Object (readonly)
Returns the value of attribute original.
2 3 4 |
# File 'app/exceptions/invalid_string_literal_error.rb', line 2 def original @original end |