Class: Panache::Violation

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

Instance Attribute Summary collapse

Instance Attribute Details

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



9
10
11
# File 'lib/panache.rb', line 9

def line
  @line
end

#line_numberObject

Returns the value of attribute line_number

Returns:

  • (Object)

    the current value of line_number



9
10
11
# File 'lib/panache.rb', line 9

def line_number
  @line_number
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



9
10
11
# File 'lib/panache.rb', line 9

def offset
  @offset
end

#ruleObject

Returns the value of attribute rule

Returns:

  • (Object)

    the current value of rule



9
10
11
# File 'lib/panache.rb', line 9

def rule
  @rule
end

#styleObject

Returns the value of attribute style

Returns:

  • (Object)

    the current value of style



9
10
11
# File 'lib/panache.rb', line 9

def style
  @style
end