Class: RuboCop::Cop::Lint::Syntax::PseudoSourceRange

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubocop/cop/lint/syntax.rb

Instance Attribute Summary collapse

Instance Attribute Details

#columnObject

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



9
10
11
# File 'lib/rubocop/cop/lint/syntax.rb', line 9

def column
  @column
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



9
10
11
# File 'lib/rubocop/cop/lint/syntax.rb', line 9

def line
  @line
end

#source_lineObject

Returns the value of attribute source_line

Returns:

  • (Object)

    the current value of source_line



9
10
11
# File 'lib/rubocop/cop/lint/syntax.rb', line 9

def source_line
  @source_line
end