Class: ActiveOperation::Matcher::UtilizeOperation::DummyOperation

Inherits:
Object
  • Object
show all
Defined in:
lib/active_operation/matcher/utilize_operation.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ DummyOperation

Returns a new instance of DummyOperation.



6
7
# File 'lib/active_operation/matcher/utilize_operation.rb', line 6

def initialize(*args)
end

Instance Method Details

#halted?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/active_operation/matcher/utilize_operation.rb', line 9

def halted?
  false
end

#outputObject



17
18
19
# File 'lib/active_operation/matcher/utilize_operation.rb', line 17

def output
  Object.new
end

#performObject



21
22
23
# File 'lib/active_operation/matcher/utilize_operation.rb', line 21

def perform
  output
end

#succeeded?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/active_operation/matcher/utilize_operation.rb', line 13

def succeeded?
  true
end