lib/itamae/resource/local_ruby_block.rb in itamae-1.0.0.beta41 vs lib/itamae/resource/local_ruby_block.rb in itamae-1.0.0.beta42
- old
+ new
@@ -5,10 +5,10 @@
class LocalRubyBlock < Base
define_attribute :action, default: :run
define_attribute :block, type: Proc
def action_run(options)
- block.call
+ attributes.block.call
end
end
end
end