Class: FoggyMirror::Blob
- Inherits:
-
Struct
- Object
- Struct
- FoggyMirror::Blob
- Defined in:
- lib/foggy-mirror/blob.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#r ⇒ Object
Returns the value of attribute r.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Method Summary collapse
-
#initialize(color:, **args) ⇒ Blob
constructor
A new instance of Blob.
Constructor Details
Instance Attribute Details
#color ⇒ Object
Returns the value of attribute color
4 5 6 |
# File 'lib/foggy-mirror/blob.rb', line 4 def color @color end |
#r ⇒ Object
Returns the value of attribute r
4 5 6 |
# File 'lib/foggy-mirror/blob.rb', line 4 def r @r end |
#x ⇒ Object
Returns the value of attribute x
4 5 6 |
# File 'lib/foggy-mirror/blob.rb', line 4 def x @x end |
#y ⇒ Object
Returns the value of attribute y
4 5 6 |
# File 'lib/foggy-mirror/blob.rb', line 4 def y @y end |