Methods

Instance Public methods

rails_version()

📝 Source code
# File railties/lib/rails/api/task.rb, line 191
      def rails_version
        "main@#{`git rev-parse HEAD`[0, 7]}"
      end
🔎 See on GitHub