Exception: Ms::Format::FormatError
- Inherits:
-
Exception
- Object
- Exception
- Ms::Format::FormatError
- Defined in:
- lib/ms/format/format_error.rb
Instance Attribute Summary collapse
-
#str ⇒ Object
Returns the value of attribute str.
Instance Method Summary collapse
-
#initialize(msg, str) ⇒ FormatError
constructor
A new instance of FormatError.
Constructor Details
#initialize(msg, str) ⇒ FormatError
Returns a new instance of FormatError.
6 7 8 9 |
# File 'lib/ms/format/format_error.rb', line 6 def initialize(msg, str) super(msg) @str = str end |
Instance Attribute Details
#str ⇒ Object
Returns the value of attribute str.
4 5 6 |
# File 'lib/ms/format/format_error.rb', line 4 def str @str end |