Module: Roar::Rails

Defined in:
lib/roar/rails/url_methods.rb,
lib/roar-rails.rb,
lib/roar/rails/formats.rb,
lib/roar/rails/railtie.rb,
lib/roar/rails/version.rb,
lib/roar/rails/responder.rb,
lib/roar/rails/test_case.rb,
lib/roar/rails/rails3_0_strategy.rb,
lib/roar/rails/rails3_1_strategy.rb,
lib/roar/rails/rails3_2_strategy.rb,
lib/roar/rails/rails4_0_strategy.rb,
lib/roar/rails/rails4_2_strategy.rb,
lib/roar/rails/rails5_0_strategy.rb,
lib/roar/rails/controller_additions.rb

Overview

Note: this file might be removed soon.

Defined Under Namespace

Modules: ControllerAdditions, TestCase, UrlMethods Classes: Formats, Railtie, Responder, UnsupportedMediaType

Constant Summary collapse

VERSION =
"1.0.2"

Class Method Summary collapse

Class Method Details

.rails_versionObject


21
22
23
# File 'lib/roar-rails.rb', line 21

def self.rails_version
  Gem::Version.new([ActionPack::VERSION::MAJOR, ActionPack::VERSION::MINOR].join('.'))
end