module ActiveSupport
Public Class Methods
cache_format_version()
click to toggle source
# File lib/active_support.rb, line 99 def self.cache_format_version Cache.format_version end
cache_format_version=(value)
click to toggle source
# File lib/active_support.rb, line 103 def self.cache_format_version=(value) Cache.format_version = value end
eager_load!()
click to toggle source
Calls superclass method
# File lib/active_support.rb, line 88 def self.eager_load! super NumberHelper.eager_load! end
gem_version()
click to toggle source
Returns the currently loaded version of Active Support as a Gem::Version
.
# File lib/active_support/gem_version.rb, line 5 def self.gem_version Gem::Version.new VERSION::STRING end
to_time_preserves_timezone()
click to toggle source
# File lib/active_support.rb, line 107 def self.to_time_preserves_timezone DateAndTime::Compatibility.preserve_timezone end
to_time_preserves_timezone=(value)
click to toggle source
# File lib/active_support.rb, line 111 def self.to_time_preserves_timezone=(value) DateAndTime::Compatibility.preserve_timezone = value end
utc_to_local_returns_utc_offset_times()
click to toggle source
# File lib/active_support.rb, line 115 def self.utc_to_local_returns_utc_offset_times DateAndTime::Compatibility.utc_to_local_returns_utc_offset_times end
utc_to_local_returns_utc_offset_times=(value)
click to toggle source
# File lib/active_support.rb, line 119 def self.utc_to_local_returns_utc_offset_times=(value) DateAndTime::Compatibility.utc_to_local_returns_utc_offset_times = value end
version()
click to toggle source
Returns the currently loaded version of Active Support as a Gem::Version
.
# File lib/active_support/version.rb, line 7 def self.version gem_version end