From 85ac45a26cf71dc5d57bc12a01ee2b1535bcbf66 Mon Sep 17 00:00:00 2001 From: saigo Date: Sun, 4 Mar 2018 17:44:14 +0900 Subject: minor change to literal string related text and moved under FILES section --- man/bundle-init.ronn | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'man') 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) -- cgit v1.2.1