Class: Cistern::Service

Inherits:
Object
  • Object
show all
Defined in:
lib/cistern/service.rb

Class Method Summary collapse

Class Method Details

.inherited(klass) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/cistern/service.rb', line 4

def self.inherited(klass)
  Cistern.deprecation(
    'subclassing Cistern::Service is deprecated.  Please use `include Cistern::Client`',
    caller[0]
  )
  klass.send(:include, Cistern::Client)
end