lib/itamae/resource/local_ruby_block.rb in itamae-1.0.0.beta29 vs lib/itamae/resource/local_ruby_block.rb in itamae-1.0.0.beta30
- old
+ new
@@ -4,10 +4,10 @@
module Resource
class LocalRubyBlock < Base
define_attribute :action, default: :run
define_attribute :block, type: Proc
- def run_action
+ def run_action(options)
block.call
end
end
end
end