diff options
Diffstat (limited to 'lib/redmine/views/builders/xml.rb')
-rw-r--r-- | lib/redmine/views/builders/xml.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/redmine/views/builders/xml.rb b/lib/redmine/views/builders/xml.rb index 5814d00cb..dc2707d66 100644 --- a/lib/redmine/views/builders/xml.rb +++ b/lib/redmine/views/builders/xml.rb @@ -15,6 +15,8 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +require 'builder' + module Redmine module Views module Builders @@ -29,7 +31,7 @@ module Redmine end def method_missing(sym, *args, &block) - if args.size == 1 && args.first.is_a?(Time) + if args.size == 1 && args.first.is_a?(::Time) __send__ sym, args.first.xmlschema, &block else super |