Class: Fabrique::Test::Fixtures::Constructors::FactoryWithCreateMethod

Inherits:
Object
  • Object
show all
Defined in:
lib/fabrique/test/fixtures/constructors.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ FactoryWithCreateMethod

Returns a new instance of FactoryWithCreateMethod.



11
12
# File 'lib/fabrique/test/fixtures/constructors.rb', line 11

def initialize(*args)
end

Instance Method Details

#createObject



14
15
16
# File 'lib/fabrique/test/fixtures/constructors.rb', line 14

def create
  ClassWithPositionalArgumentConstructor.new("factory size", "factory color", "factory shape")
end