summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2009-09-27 18:57:06 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2009-09-27 18:57:06 -0700
commit6efdbaeb05e9f9200d7c95baaf44ffffa4e8dc6a (patch)
tree50602ce2f6ae3ae7cc378dca2a86b822fd973f26 /lib
parent15b81ea96f80efc5042b1200bbaf13aa59e90e2d (diff)
downloadpsych-6efdbaeb05e9f9200d7c95baaf44ffffa4e8dc6a.zip
testing sequence attributes
Diffstat (limited to 'lib')
-rw-r--r--lib/psych/nodes/sequence.rb12
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