Class: StaticSourceLoc::SourceLoc

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

Instance Attribute Summary collapse

Instance Attribute Details

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



8
9
10
# File 'lib/static_source_loc.rb', line 8

def file
  @file
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



8
9
10
# File 'lib/static_source_loc.rb', line 8

def line
  @line
end