Class: Psych::Parser::Mark

Inherits:
Struct show all
Defined in:
ext/psych/lib/psych/parser.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#as_json, json_create, #pretty_print, #pretty_print_cycle, #to_json

Instance Attribute Details

#columnObject

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



34
35
36
# File 'ext/psych/lib/psych/parser.rb', line 34

def column
  @column
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



34
35
36
# File 'ext/psych/lib/psych/parser.rb', line 34

def index
  @index
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



34
35
36
# File 'ext/psych/lib/psych/parser.rb', line 34

def line
  @line
end