Class: Fabrique::Test::Fixtures::Constructors::ClassWithProperties
- Inherits:
-
Object
- Object
- Fabrique::Test::Fixtures::Constructors::ClassWithProperties
- Defined in:
- lib/fabrique/test/fixtures/constructors.rb
Direct Known Subclasses
ClassWithBuilderMethod, ClassWithDefaultConstructor, ClassWithKeywordArgumentConstructor, ClassWithPositionalArgumentConstructor, ClassWithPropertiesHashConstructor
Constant Summary collapse
- DEFAULT_SIZE =
"default size"- DEFAULT_COLOR =
"default color"- DEFAULT_SHAPE =
"default shape"
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#object ⇒ Object
Returns the value of attribute object.
-
#shape ⇒ Object
Returns the value of attribute shape.
-
#size ⇒ Object
Returns the value of attribute size.
Instance Attribute Details
#color ⇒ Object
Returns the value of attribute color.
26 27 28 |
# File 'lib/fabrique/test/fixtures/constructors.rb', line 26 def color @color end |
#object ⇒ Object
Returns the value of attribute object.
26 27 28 |
# File 'lib/fabrique/test/fixtures/constructors.rb', line 26 def object @object end |
#shape ⇒ Object
Returns the value of attribute shape.
26 27 28 |
# File 'lib/fabrique/test/fixtures/constructors.rb', line 26 def shape @shape end |
#size ⇒ Object
Returns the value of attribute size.
26 27 28 |
# File 'lib/fabrique/test/fixtures/constructors.rb', line 26 def size @size end |