class Puppet::Pops::Model::PopsObject

Attributes

hash[R]

Public Class Methods

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

Public Instance Methods

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