Methods

Instance Public methods

rails_version()

📝 Source code
# File railties/lib/rails/api/task.rb, line 180
      def rails_version
        File.read("RAILS_VERSION").strip
      end
🔎 See on GitHub