Class: Pikeman::Error

Inherits:
Struct
  • Object
show all
Defined in:
lib/pikeman.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filename:, line:, column:, text:, link:, confidence:, linetext:, category:) ⇒ Error

Returns a new instance of Error.



7
8
9
# File 'lib/pikeman.rb', line 7

def initialize(filename:, line:, column:, text:, link:, confidence:, linetext:, category:)
  super(filename, line, column, text, link, confidence, linetext, category)
end

Instance Attribute Details

#categoryObject

Returns the value of attribute category

Returns:

  • (Object)

    the current value of category



6
7
8
# File 'lib/pikeman.rb', line 6

def category
  @category
end

#columnObject

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



6
7
8
# File 'lib/pikeman.rb', line 6

def column
  @column
end

#confidenceObject

Returns the value of attribute confidence

Returns:

  • (Object)

    the current value of confidence



6
7
8
# File 'lib/pikeman.rb', line 6

def confidence
  @confidence
end

#filenameObject

Returns the value of attribute filename

Returns:

  • (Object)

    the current value of filename



6
7
8
# File 'lib/pikeman.rb', line 6

def filename
  @filename
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



6
7
8
# File 'lib/pikeman.rb', line 6

def line
  @line
end

#linetextObject

Returns the value of attribute linetext

Returns:

  • (Object)

    the current value of linetext



6
7
8
# File 'lib/pikeman.rb', line 6

def linetext
  @linetext
end

Returns the value of attribute link

Returns:

  • (Object)

    the current value of link



6
7
8
# File 'lib/pikeman.rb', line 6

def link
  @link
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



6
7
8
# File 'lib/pikeman.rb', line 6

def text
  @text
end