Class: Fabrique::Test::Fixtures::Constructors::ClassWithProperties

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

Constant Summary collapse

DEFAULT_SIZE =
"default size"
DEFAULT_COLOR =
"default color"
DEFAULT_SHAPE =
"default shape"

Instance Attribute Summary collapse

Instance Attribute Details

#colorObject

Returns the value of attribute color.



26
27
28
# File 'lib/fabrique/test/fixtures/constructors.rb', line 26

def color
  @color
end

#objectObject

Returns the value of attribute object.



26
27
28
# File 'lib/fabrique/test/fixtures/constructors.rb', line 26

def object
  @object
end

#shapeObject

Returns the value of attribute shape.



26
27
28
# File 'lib/fabrique/test/fixtures/constructors.rb', line 26

def shape
  @shape
end

#sizeObject

Returns the value of attribute size.



26
27
28
# File 'lib/fabrique/test/fixtures/constructors.rb', line 26

def size
  @size
end