method

require_tzinfo

rails latest stable - Class: ActiveSupport::TimeZone

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

require_tzinfo()
protected

No documentation available.

# File activesupport/lib/active_support/values/time_zone.rb, line 401
        def require_tzinfo
          require 'tzinfo' unless defined?(::TZInfo)
        rescue LoadError
          $stderr.puts "You don't have tzinfo installed in your application. Please add it to your Gemfile and run bundle install"
          raise
        end