Class: Suture::Surgeon::NoOp

Inherits:
Object
  • Object
show all
Defined in:
lib/suture/surgeon/no_op.rb

Instance Method Summary collapse

Instance Method Details

#operate(plan) ⇒ Object



5
6
7
8
9
# File 'lib/suture/surgeon/no_op.rb', line 5

def operate(plan)
  if code_path = code_path_for(plan)
    Suture::Util::Scalpel.new.cut(plan, code_path)
  end
end