Exception: Dex::UI::Formatter::FormatError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, input = nil, index = nil) ⇒ FormatError

Returns a new instance of FormatError.



49
50
51
52
53
# File 'lib/dex/ui/formatter.rb', line 49

def initialize(message = nil, input = nil, index = nil)
  super(message)
  @input = input
  @index = index
end

Instance Attribute Details

#indexObject

Returns the value of attribute index.



47
48
49
# File 'lib/dex/ui/formatter.rb', line 47

def index
  @index
end

#inputObject

Returns the value of attribute input.



47
48
49
# File 'lib/dex/ui/formatter.rb', line 47

def input
  @input
end