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


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

def begin_pos
  @begin_pos
end

#columnObject

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column


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

def column
  @column
end

#end_posObject

Returns the value of attribute end_pos

Returns:

  • (Object)

    the current value of end_pos


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

def end_pos
  @end_pos
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line


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

def line
  @line
end

#source_lineObject

Returns the value of attribute source_line

Returns:

  • (Object)

    the current value of source_line


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

def source_line
  @source_line
end