Exception: Ms::Format::FormatError

Inherits:
Exception
  • Object
show all
Defined in:
lib/ms/format/format_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#strObject

Returns the value of attribute str.



4
5
6
# File 'lib/ms/format/format_error.rb', line 4

def str
  @str
end