lib/lhm/command.rb in lhm-2.1.0 vs lib/lhm/command.rb in lhm-2.2.0
- old
+ new
@@ -8,10 +8,10 @@
module Command
def run(&block)
Lhm.logger.info "Starting run of class=#{self.class}"
validate
- if(block_given?)
+ if block_given?
before
block.call(self)
after
else
execute