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

#begin_posObject

Returns the value of attribute begin_pos

Returns:

  • (Object)

    the current value of begin_pos



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

def begin_pos
  @begin_pos
end

#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

#end_posObject

Returns the value of attribute end_pos

Returns:

  • (Object)

    the current value of end_pos



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

def end_pos
  @end_pos
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