mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Rails::Generators::AppBase::GemfileEntry needs anonymous superclass
it has some methods that override the accessors and calls the original accessors via `super`
this partially reverts 9360b6be63
This commit is contained in:
parent
b1a2aee3e1
commit
4ee3a8f4de
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ module Rails
|
|||
!options[:skip_active_record] && options[:database] == "sqlite3"
|
||||
end
|
||||
|
||||
GemfileEntry = Struct.new(:name, :version, :comment, :options, :commented_out) do
|
||||
class GemfileEntry < Struct.new(:name, :version, :comment, :options, :commented_out)
|
||||
def initialize(name, version, comment, options = {}, commented_out = false)
|
||||
super
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue