I'm just learning Ruby/Rails. Consider this excerpt from a Gemfile:
group :production do
gem 'pg', '0.17.1'
gem 'rails_12factor', '0.0.2'
end
What is group
in the ruby language? I initially thought of a function but why would the thing that the function returns be followed by a do
- end
block?