class Fabrique::Test::Fixtures::Constructors::ClassWithPropertiesHashConstructor

Public Class Methods

new(properties) click to toggle source
# File lib/fabrique/test/fixtures/constructors.rb, line 42
def initialize(properties)
  @size, @color, @shape = properties[:size], properties[:color], properties[:shape]
end