Top Level Namespace
Defined Under Namespace
Modules: Serializable
Instance Method Summary collapse
Instance Method Details
#using_rails_3? ⇒ Boolean
6 7 8 9 |
# File 'lib/acts_as_serializable.rb', line 6 def using_rails_3? # Assume 3 unless we have 2. defined?(Rails) && Rails::VERSION::MAJOR != 2 end |