Exception: CLI::UI::Formatter::FormatError
- Inherits:
-
StandardError
- Object
- StandardError
- CLI::UI::Formatter::FormatError
- Defined in:
- lib/cli/ui/formatter.rb
Overview
: type stack = Array[String | LITERAL_BRACES]
Instance Attribute Summary collapse
-
#index ⇒ Object
: Integer.
-
#input ⇒ Object
: String.
Instance Method Summary collapse
-
#initialize(message, input, index) ⇒ FormatError
constructor
: (String message, String input, Integer index) -> void.
Constructor Details
#initialize(message, input, index) ⇒ FormatError
: (String message, String input, Integer index) -> void
70 71 72 73 74 |
# File 'lib/cli/ui/formatter.rb', line 70 def initialize(, input, index) super() @input = input @index = index end |
Instance Attribute Details
#index ⇒ Object
: Integer
67 68 69 |
# File 'lib/cli/ui/formatter.rb', line 67 def index @index end |
#input ⇒ Object
: String
64 65 66 |
# File 'lib/cli/ui/formatter.rb', line 64 def input @input end |