class Puppet::Pops::Model::PopsObject

Attributes

hash[R]

Public Class Methods

_pcore_type() click to toggle source
   # File lib/puppet/pops/model/ast.rb
 7 def self._pcore_type
 8   @_pcore_type ||= Types::PObjectType.new('Puppet::AST::PopsObject', {
 9   })
10 end
create() click to toggle source
   # File lib/puppet/pops/model/ast.rb
22 def self.create
23   new
24 end
from_asserted_hash(init_hash) click to toggle source
   # File lib/puppet/pops/model/ast.rb
18 def self.from_asserted_hash(init_hash)
19   new
20 end
from_hash(init_hash) click to toggle source
   # File lib/puppet/pops/model/ast.rb
14 def self.from_hash(init_hash)
15   from_asserted_hash(Types::TypeAsserter.assert_instance_of('Puppet::AST::PopsObject initializer', _pcore_type.init_hash_type, init_hash))
16 end
new() click to toggle source
   # File lib/puppet/pops/model/ast.rb
27 def initialize
28   @hash = 2270595461303489901
29 end

Public Instance Methods

==(o)
Alias for: eql?
_pcore_all_contents(path) click to toggle source
   # File lib/puppet/pops/model/ast.rb
37 def _pcore_all_contents(path)
38 end
_pcore_contents() click to toggle source
   # File lib/puppet/pops/model/ast.rb
34 def _pcore_contents
35 end
_pcore_init_hash() click to toggle source
   # File lib/puppet/pops/model/ast.rb
30 def _pcore_init_hash
31   {}
32 end
eql?(o) click to toggle source
   # File lib/puppet/pops/model/ast.rb
44 def eql?(o)
45   o.instance_of?(self.class)
46 end
Also aliased as: ==
to_s() click to toggle source
   # File lib/puppet/pops/model/ast.rb
40 def to_s
41   Types::TypeFormatter.string(self)
42 end