diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2009-09-27 16:01:17 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2009-09-27 16:01:17 -0700 |
commit | e86f1a64f7e905442d331b242ad4fe60eafe49a6 (patch) | |
tree | 59ba6cf8615a803d9f4374afa2904eb6e517fa16 /lib/psych.rb | |
parent | e01fc9ede64a82bcd1fc60ba5aba6c02e892e2f6 (diff) | |
download | psych-e86f1a64f7e905442d331b242ad4fe60eafe49a6.zip |
mapping start tested
Diffstat (limited to 'lib/psych.rb')
-rw-r--r-- | lib/psych.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/psych.rb b/lib/psych.rb index 812891e..0151e9f 100644 --- a/lib/psych.rb +++ b/lib/psych.rb @@ -24,6 +24,11 @@ module Psych BLOCK_SEQUENCE_STYLE = 1 FLOW_SEQUENCE_STYLE = 2 + # Mapping Styles + ANY_MAPPING_STYLE = 0 + BLOCK_MAPPING_STYLE = 1 + FLOW_MAPPING_STYLE = 2 + def self.parse thing Psych::Parser.new.parse thing end |