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