Method: SchemaRD::MigrationContext::Loader#initialize
- Defined in:
- lib/schemard/schema_parser.rb
#initialize(schema, with_comment: false) ⇒ Loader
“with_comment” must be assigned, but ruby2.0 needs default value.
53 54 55 56 |
# File 'lib/schemard/schema_parser.rb', line 53 def initialize(schema, with_comment: false) @schema = schema @parse_db_comment = with_comment end |