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