Module: Gemical::Singleton

Included in:
Auth, Configuration, Connection
Defined in:
lib/gemical/singleton.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
# File 'lib/gemical/singleton.rb', line 3

def self.included(base)
  class << base
    private :new
  end
  base.extend ClassMethods
end