summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/outputs.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-08-13 15:12:09 +0300
committerSaku Ytti <saku@ytti.fi>2014-08-13 15:12:09 +0300
commita0115f27c17317cb9d2a2e4012cdbbb88b987063 (patch)
treeab0d310b914dcf524d421732b329002e6c42aa8e /lib/oxidized/model/outputs.rb
parentef1735ffdadb10371036989b10756d341b64d292 (diff)
fix pre/post blocks
Diffstat (limited to 'lib/oxidized/model/outputs.rb')
-rw-r--r--lib/oxidized/model/outputs.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/oxidized/model/outputs.rb b/lib/oxidized/model/outputs.rb
index 10015f8..a668e9d 100644
--- a/lib/oxidized/model/outputs.rb
+++ b/lib/oxidized/model/outputs.rb
@@ -14,6 +14,10 @@ module Oxidized
@outputs << output
end
+ def unshift output
+ @outputs.unshift output
+ end
+
def all
@outputs
end