Skip to content
Permalink
Browse files

Fix document formatting of `Rails.group` [ci skip]

  • Loading branch information...
y-yagi committed Sep 5, 2019
1 parent 0cf6096 commit 1ccc407e9dc95bda4d404c192bbb9ce2b8bb7424
Showing with 3 additions and 5 deletions.
  1. +3 −5 railties/lib/rails.rb
@@ -86,11 +86,9 @@ def env=(environment)
# * The environment variable RAILS_GROUPS;
# * The optional envs given as argument and the hash with group dependencies;
#
# groups assets: [:development, :test]
#
# # Returns
# # => [:default, "development", :assets] for Rails.env == "development"
# # => [:default, "production"] for Rails.env == "production"
# Rails.groups assets: [:development, :test]
# # => [:default, "development", :assets] for Rails.env == "development"
# # => [:default, "production"] for Rails.env == "production"
def groups(*groups)
hash = groups.extract_options!
env = Rails.env

0 comments on commit 1ccc407

Please sign in to comment.
You can’t perform that action at this time.