diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2009-09-27 18:57:06 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2009-09-27 18:57:06 -0700 |
commit | 6efdbaeb05e9f9200d7c95baaf44ffffa4e8dc6a (patch) | |
tree | 50602ce2f6ae3ae7cc378dca2a86b822fd973f26 /lib | |
parent | 15b81ea96f80efc5042b1200bbaf13aa59e90e2d (diff) | |
download | psych-6efdbaeb05e9f9200d7c95baaf44ffffa4e8dc6a.zip |
testing sequence attributes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/psych/nodes/sequence.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/psych/nodes/sequence.rb b/lib/psych/nodes/sequence.rb index fbcb45e..9b87f61 100644 --- a/lib/psych/nodes/sequence.rb +++ b/lib/psych/nodes/sequence.rb @@ -1,6 +1,18 @@ module Psych module Nodes class Sequence < Psych::Nodes::Node + # The anchor for this sequence (if any) + attr_accessor :anchor + + # The tag name for this sequence (if any) + attr_accessor :tag + + # Is this sequence started implicitly? + attr_accessor :implicit + + # The sequece style used + attr_accessor :style + def initialize anchor, tag, implicit, style super() @anchor = anchor |