# File lib/puppet/vendor/rgen/test/method_delegation_test.rb, line 37 def const_missing(const) ConstPathElement.new(const, self) end
# File lib/puppet/vendor/rgen/test/method_delegation_test.rb, line 40 def to_s if @parent @parent.to_s+"::"+@name else @name end end
# File lib/puppet/vendor/rgen/test/method_delegation_test.rb, line 30 def self.const_missing_delegated(delegator, const) ConstPathElement.new(const) end
# File lib/puppet/vendor/rgen/test/method_delegation_test.rb, line 33 def initialize(name, parent=nil) @name = name.to_s @parent = parent end