summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/psych/parser/handler.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/psych/parser/handler.rb b/lib/psych/parser/handler.rb
index 1be1dd2..e2de6d8 100644
--- a/lib/psych/parser/handler.rb
+++ b/lib/psych/parser/handler.rb
@@ -40,10 +40,17 @@ module Psych
def end_sequence
end
+ ###
+ # Called when a map starts
def start_mapping anchor = nil, tag = nil, implicit = true, style = BLOCK_MAPPING_STYLE
end
###
+ # Called when a map ends
+ def end_mapping
+ end
+
+ ###
# Called when the YAML stream ends
def end_stream
end