Method: Psych::TreeBuilder#event_location

Defined in:
lib/psych/tree_builder.rb

#event_location(start_line, start_column, end_line, end_column) ⇒ Object



33
34
35
36
37
38
# File 'lib/psych/tree_builder.rb', line 33

def event_location(start_line, start_column, end_line, end_column)
  @start_line   = start_line
  @start_column = start_column
  @end_line     = end_line
  @end_column   = end_column
end