Exception: CLI::UI::Formatter::FormatError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cli/ui/formatter.rb

Overview

: type stack = Array[String | LITERAL_BRACES]

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, input, index)
  super(message)
  @input = input
  @index = index
end

Instance Attribute Details

#indexObject

: Integer



67
68
69
# File 'lib/cli/ui/formatter.rb', line 67

def index
  @index
end

#inputObject

: String



64
65
66
# File 'lib/cli/ui/formatter.rb', line 64

def input
  @input
end