Class: Test
- Inherits:
-
Object
- Object
- Test
- Defined in:
- lib/fsdb/nonpersistent-attr.rb
Instance Attribute Summary collapse
-
#z ⇒ Object
Returns the value of attribute z.
Instance Method Summary collapse
-
#initialize(x, y, z) ⇒ Test
constructor
A new instance of Test.
Constructor Details
#initialize(x, y, z) ⇒ Test
Returns a new instance of Test.
47 48 49 50 51 |
# File 'lib/fsdb/nonpersistent-attr.rb', line 47 def initialize x, y, z self.x = x self.y = y @z = z end |
Instance Attribute Details
#z ⇒ Object
Returns the value of attribute z.
45 46 47 |
# File 'lib/fsdb/nonpersistent-attr.rb', line 45 def z @z end |