Module: Mockolate::Types::TypeFactory

Defined in:
lib/mockolate/types.rb

Instance Method Summary collapse

Instance Method Details

#create(name:, options: {}) ⇒ Object



10
11
12
13
14
15
# File 'lib/mockolate/types.rb', line 10

def create(name:, options: {})
  new(
    name:    name,
    options: options
  )
end