method

psych_gemfile_entry

rails latest stable - Class: Rails::Generators::AppBase

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

psych_gemfile_entry()
private

No documentation available.

# File railties/lib/rails/generators/app_base.rb, line 367
      def psych_gemfile_entry
        return [] unless defined?(Rubinius)

        comment = "Use Psych as the YAML engine, instead of Syck, so serialized "                    "data can be read safely from different rubies (see http://git.io/uuLVag)"
        GemfileEntry.new("psych", "~> 2.0", comment, platforms: :rbx)
      end