Class: Disk
- Inherits:
-
Object
- Object
- Disk
- Defined in:
- lib/Olib/character/disk.rb
Instance Attribute Summary collapse
-
#full ⇒ Object
Returns the value of attribute full.
-
#owner ⇒ Object
Returns the value of attribute owner.
Instance Method Summary collapse
- #add(item) ⇒ Object
- #full? ⇒ Boolean
-
#initialize(owner) ⇒ Disk
constructor
A new instance of Disk.
Constructor Details
Instance Attribute Details
#full ⇒ Object
Returns the value of attribute full.
2 3 4 |
# File 'lib/Olib/character/disk.rb', line 2 def full @full end |
#owner ⇒ Object
Returns the value of attribute owner.
2 3 4 |
# File 'lib/Olib/character/disk.rb', line 2 def owner @owner end |
Instance Method Details
#add(item) ⇒ Object
12 13 14 |
# File 'lib/Olib/character/disk.rb', line 12 def add(item) end |
#full? ⇒ Boolean
16 17 18 |
# File 'lib/Olib/character/disk.rb', line 16 def full? @full end |