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