From 7f6336df30e2b4b1e64b2ea671c36d82f7df0f19 Mon Sep 17 00:00:00 2001 From: "p.tessenow" Date: Tue, 29 Jun 2010 07:14:44 +0000 Subject: [PATCH] an operator knows to_s git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1232 7926756e-e54e-46e6-9721-ed318f58905e --- app/models/cost_query/operator.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/models/cost_query/operator.rb b/app/models/cost_query/operator.rb index 9eb5c76133..36f0f4b9bd 100644 --- a/app/models/cost_query/operator.rb +++ b/app/models/cost_query/operator.rb @@ -225,6 +225,10 @@ class CostQuery::Operator self end + def to_s + name + end + def inspect "#<#{self.class.name}:#{name.inspect}>" end