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
122 def initialize(attribute_count)
123   @attribute_count = attribute_count
124 end

Public Instance Methods

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