Class: Imposter::Generators::ModelsConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/generators/imposter.rb

Instance Method Summary collapse

Instance Method Details

#quantity_for(model_name) ⇒ Object



11
12
13
# File 'lib/generators/imposter.rb', line 11

def quantity_for(model_name)
  @quantites["model_name"] || @default_quantity
end