diff options
Diffstat (limited to 'lib/oxidized/model/model.rb')
-rw-r--r-- | lib/oxidized/model/model.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/model/model.rb b/lib/oxidized/model/model.rb index 70b307f..ccc03b4 100644 --- a/lib/oxidized/model/model.rb +++ b/lib/oxidized/model/model.rb @@ -125,10 +125,10 @@ module Oxidized data << out.to_s end procs[:pre].each do |pre_proc| - pre << instance_eval(&pre_proc) + pre << instance_eval(&pre_proc).to_s end procs[:post].each do |post_proc| - data << instance_eval(&post_proc) + data << instance_eval(&post_proc).to_s end pre + data end |