From a0115f27c17317cb9d2a2e4012cdbbb88b987063 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Wed, 13 Aug 2014 15:12:09 +0300 Subject: fix pre/post blocks --- lib/oxidized/model/outputs.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/oxidized/model/outputs.rb') 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 -- cgit v1.2.1