Class: Reactor::Workflow::Empty

Inherits:
Standard
  • Object
show all
Defined in:
lib/reactor/workflow/empty.rb

Constant Summary

Constants inherited from Standard

Standard::WORKFLOW_ACTIONS

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ Empty

Returns a new instance of Empty.



4
5
6
# File 'lib/reactor/workflow/empty.rb', line 4

def initialize(obj)
  @obj = obj
end

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/reactor/workflow/empty.rb', line 8

def empty?
  true
end

#nameObject



12
13
14
# File 'lib/reactor/workflow/empty.rb', line 12

def name
  nil
end