Class: Symbol

Inherits:
Object show all
Defined in:
lib/puppet/util/monkey_patches.rb

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



22
23
24
# File 'lib/puppet/util/monkey_patches.rb', line 22

def <=> (other)
  self.to_s <=> other.to_s
end

#internObject



26
27
28
# File 'lib/puppet/util/monkey_patches.rb', line 26

def intern
  self
end