Class: SEPA::Builders::Stage

Inherits:
Object
  • Object
show all
Defined in:
lib/sepa_rator/builders/stage.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(context) ⇒ Stage

Returns a new instance of Stage.



12
13
14
# File 'lib/sepa_rator/builders/stage.rb', line 12

def initialize(context)
  @context = context
end

Class Method Details

.call(context) ⇒ Object



8
9
10
# File 'lib/sepa_rator/builders/stage.rb', line 8

def self.call(context)
  new(context).call
end

Instance Method Details

#callObject

Raises:

  • (NotImplementedError)


16
17
18
# File 'lib/sepa_rator/builders/stage.rb', line 16

def call
  raise NotImplementedError, "#{self.class} must implement #call"
end