method

to_s

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: GemfileEntry
to_s() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/app_base.rb, line 277
        def to_s
          [ ("# #{comment}\n" if comment),
            ("# " if commented_out), "gem \"#{name}\"", (", \"#{version}\"" if version),
            *options.map { |key, val| ", #{key}: #{val.inspect}" }
          ].compact.join
        end
Register or log in to add new notes.