Method: Psych::Handler#start_stream
- Defined in:
- lib/psych/handler.rb
#start_stream(encoding) ⇒ Object
Called with encoding when the YAML stream starts. This method is called once per stream. A stream may contain multiple documents.
See the constants in Psych::Parser for the possible values of encoding.
47 48 |
# File 'lib/psych/handler.rb', line 47 def start_stream encoding end |