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.



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

def initialize(obj)
  @obj = obj
end

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


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

def empty?
  true
end

#nameObject



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

def name
  nil
end