diff options
author | saigo <saigo@localhost.localdomain> | 2018-03-04 17:44:14 +0900 |
---|---|---|
committer | saigo <saigo@localhost.localdomain> | 2018-03-04 17:44:14 +0900 |
commit | 85ac45a26cf71dc5d57bc12a01ee2b1535bcbf66 (patch) | |
tree | 8e34d9105fe6bc86bac14a44e496bbe7529a6239 /man | |
parent | 68f584a0cdf06fa9c8bc2e2e5090db6184c96577 (diff) | |
download | bundler-85ac45a26cf71dc5d57bc12a01ee2b1535bcbf66.tar.gz |
minor change to literal string related text and moved under FILES section
Diffstat (limited to 'man')
-rw-r--r-- | man/bundle-init.ronn | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/man/bundle-init.ronn b/man/bundle-init.ronn index 959b58ea76..3e68189915 100644 --- a/man/bundle-init.ronn +++ b/man/bundle-init.ronn @@ -12,17 +12,19 @@ adding a [`Gemfile(5)`][Gemfile(5)] to a gem with a gemspec, the `--gemspec` opt automatically add each dependency listed in the gemspec file to the newly created [`Gemfile(5)`][Gemfile(5)]. -One of the lines included in the default [`Gemfile(5)`][Gemfile(5)] -generated is `# frozen_string_literal: true`. This is a magic comment -supported for the first time in Ruby 2.3. The presence of this line -results in all string literals in the file being implicitly frozen. -Frozen string literals will be the default in Ruby 3. - ## OPTIONS * `--gemspec`: Use the specified .gemspec to create the [`Gemfile(5)`][Gemfile(5)] +## FILES + +Included in the default [`Gemfile(5)`][Gemfile(5)] +generated is the line `# frozen_string_literal: true`. This is a magic comment +supported for the first time in Ruby 2.3. The presence of this line +results in all string literals in the file being implicitly frozen. +Frozen string literals will be the default in Ruby 3. + ## SEE ALSO [Gemfile(5)](http://bundler.io/man/gemfile.5.html) |