Module: Traceable

Included in:
Psych::Nodes::Node, TraceableString
Defined in:
lib/traceable.rb

Overview

Attributes required to trace the origin of a value.

Instance Attribute Summary collapse

Instance Attribute Details

#byteObject

Returns the value of attribute byte.



57
58
59
# File 'lib/traceable.rb', line 57

def byte
  @byte
end

#columnObject

Returns the value of attribute column.



59
60
61
# File 'lib/traceable.rb', line 59

def column
  @column
end

#fileObject

Returns the value of attribute file.



56
57
58
# File 'lib/traceable.rb', line 56

def file
  @file
end

#lineObject

Returns the value of attribute line.



58
59
60
# File 'lib/traceable.rb', line 58

def line
  @line
end