module RailsFriendlyUrls
Base gem’s module
@author Carlos Alonso
Constants
- VERSION
Public Class Methods
rails_version()
click to toggle source
Method to quickly get the major and minor versions of the current Rails env
@returns [String] with X.Y format with major and minor versions
# File lib/rails_friendly_urls.rb, line 15 def self.rails_version "#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}" end