Module: Ccp::Receivers::Aroundable

Included in:
Base
Defined in:
lib/ccp/receivers/aroundable.rb

Instance Method Summary collapse

Instance Method Details

#execute(cmd) ⇒ Object



4
5
6
7
8
# File 'lib/ccp/receivers/aroundable.rb', line 4

def execute(cmd)
  cmd.must.duck!("before") {}
  super
  cmd.must.duck!("after") {}
end