summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/model/model.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/model.rb b/lib/oxidized/model/model.rb
index ccc03b4..ca08332 100644
--- a/lib/oxidized/model/model.rb
+++ b/lib/oxidized/model/model.rb
@@ -77,7 +77,7 @@ module Oxidized
out = @input.cmd string
return false unless out
self.class.cmds[:all].each do |all_block|
- out = instance_exec out, &all_block
+ out = instance_exec out, string, &all_block
end
out = instance_exec out, &block if block
out