Class: Callsite::Line

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

Instance Attribute Summary collapse

Instance Attribute Details

#filenameObject

Returns the value of attribute filename

Returns:

  • (Object)

    the current value of filename



5
6
7
# File 'lib/callsite.rb', line 5

def filename
  @filename
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



5
6
7
# File 'lib/callsite.rb', line 5

def line
  @line
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



5
6
7
# File 'lib/callsite.rb', line 5

def method
  @method
end