In Files

  • singleton.rb

Methods

Class/Module Index [+]

Quicksearch

Singleton

Constants

FirstInstanceCall

Method body of first instance call.

Public Instance Methods

_dump(depth=-1) click to toggle source

default marshalling strategy

 
               # File singleton.rb, line 75
def _dump(depth=-1) 
  ''
end
            
clone() click to toggle source

disable build-in copying methods

 
               # File singleton.rb, line 67
def clone
  raise TypeError, "can't clone instance of singleton #{self.class}"
end
            
dup() click to toggle source
 
               # File singleton.rb, line 70
def dup
  raise TypeError, "can't dup instance of singleton #{self.class}"
end