Exception: CLI::UI::Formatter::FormatError
- Inherits:
-
StandardError
- Object
- StandardError
- CLI::UI::Formatter::FormatError
- Defined in:
- lib/cli/ui/formatter.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
Returns the value of attribute index.
-
#input ⇒ Object
Returns the value of attribute input.
Instance Method Summary collapse
-
#initialize(message = nil, input = nil, index = nil) ⇒ FormatError
constructor
A new instance of FormatError.
Constructor Details
#initialize(message = nil, input = nil, index = nil) ⇒ FormatError
Returns a new instance of FormatError.
57 58 59 60 61 |
# File 'lib/cli/ui/formatter.rb', line 57 def initialize( = nil, input = nil, index = nil) super() @input = input @index = index end |
Instance Attribute Details
#index ⇒ Object
Returns the value of attribute index.
55 56 57 |
# File 'lib/cli/ui/formatter.rb', line 55 def index @index end |
#input ⇒ Object
Returns the value of attribute input.
55 56 57 |
# File 'lib/cli/ui/formatter.rb', line 55 def input @input end |