class Puppet::Pops::Serialization::Extension::ObjectStart

Attributes

attribute_count[R]

Public Class Methods

new(attribute_count) click to toggle source
    # File lib/puppet/pops/serialization/extension.rb
123 def initialize(attribute_count)
124   @attribute_count = attribute_count
125 end

Public Instance Methods

==(o)
Alias for: eql?
eql?(o) click to toggle source
    # File lib/puppet/pops/serialization/extension.rb
131 def eql?(o)
132   o.is_a?(ObjectStart) && o.attribute_count == @attribute_count
133 end
Also aliased as: ==
hash() click to toggle source
    # File lib/puppet/pops/serialization/extension.rb
127 def hash
128   attribute_count.hash
129 end
sequence_size() click to toggle source
    # File lib/puppet/pops/serialization/extension.rb
136 def sequence_size
137   @attribute_count
138 end