Class: Fabrique::Test::Fixtures::Constructors::FactoryWithCreateMethod
- Inherits:
-
Object
- Object
- Fabrique::Test::Fixtures::Constructors::FactoryWithCreateMethod
- Defined in:
- lib/fabrique/test/fixtures/constructors.rb
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize(*args) ⇒ FactoryWithCreateMethod
constructor
A new instance of FactoryWithCreateMethod.
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
#create ⇒ Object
14 15 16 |
# File 'lib/fabrique/test/fixtures/constructors.rb', line 14 def create ClassWithPositionalArgumentConstructor.new("factory size", "factory color", "factory shape") end |