Class: RailsAppGenerator::FormattedGemEntry

Inherits:
Rails::Generators::AppBase::GemfileEntry
  • Object
show all
Defined in:
lib/rails_app_generator/formatted_gem_entry.rb

Overview

Formatted Gem Entry allows some control over gem entries into the Gemfile

Instance Method Summary collapse

Instance Method Details

#to_sObject



6
7
8
9
10
# File 'lib/rails_app_generator/formatted_gem_entry.rb', line 6

def to_s
  return "\n#{super}" if comment

  super
end