diff options
author | Elvin Efendi <elvin.efendiyev@gmail.com> | 2015-12-02 15:42:29 -0500 |
---|---|---|
committer | Elvin Efendi <elvin.efendiyev@gmail.com> | 2015-12-02 15:42:29 -0500 |
commit | c6614b7a343fe1bd7eabd5e0a8ae404440087bc7 (patch) | |
tree | fbefa5c7624cacb2bbccdc5a84728e9a0408d6f4 /lib/oxidized/model/model.rb | |
parent | 937b1f6806caf8f4e0b4397398770ac4e339cdb4 (diff) | |
parent | 6b47e7122ea9e8f470c30335d4bcb588ed279a18 (diff) |
Merge pull request #3 from Shopify/more-device-info
More device info
Diffstat (limited to 'lib/oxidized/model/model.rb')
-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 c95cc67..ca851e3 100644 --- a/lib/oxidized/model/model.rb +++ b/lib/oxidized/model/model.rb @@ -79,7 +79,7 @@ module Oxidized attr_accessor :input, :node def cmd string, &block - out = @input.cmd string + out = "====================== #{string} ======================\n" + @input.cmd(string) return false unless out self.class.cmds[:all].each do |all_block| out = instance_exec Oxidized::String.new(out), string, &all_block |