method
psych_gemfile_entry
v4.2.1 -
Show latest stable
- Class:
Rails::Generators::AppBase
psych_gemfile_entry()protected
No documentation available.
# File railties/lib/rails/generators/app_base.rb, line 294
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