Class: Gamefic::Standard::Container
- Inherits:
-
Receptacle
- Object
- Entity
- Thing
- Receptacle
- Gamefic::Standard::Container
- Defined in:
- lib/gamefic/standard/entities/container.rb
Overview
An openable and lockable receptacle.
Instance Attribute Summary
Attributes included from Lockable
Attributes included from Enterable
Attributes included from Standardized
#itemized, #locale_description, #portable
Instance Method Summary collapse
Methods included from Lockable
#lock, #lock_key?, #locked=, #locked?, #open=, #unlock, #unlocked?
Methods included from Openable
#close, #closed?, #open, #open=, #open?
Methods included from Enterable
Methods included from Standardized
#attached=, #attached?, #itemized?, #parent=, #portable?, #room
Instance Method Details
#accessible ⇒ Object
11 12 13 |
# File 'lib/gamefic/standard/entities/container.rb', line 11 def accessible open? ? super : [] end |