summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/model.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/model.rb')
-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 00a520d..b768bfb 100644
--- a/lib/oxidized/model/model.rb
+++ b/lib/oxidized/model/model.rb
@@ -62,6 +62,7 @@ module Oxidized
out = instance_exec out, &cmd_block if cmd_block
data << out.to_s
end
+ data << main.to_s if respond_to? :main
data
end