Class: Gamefic::Standard::Container

Inherits:
Receptacle show all
Includes:
Lockable, Openable
Defined in:
lib/gamefic/standard/entities/container.rb

Overview

An openable and lockable receptacle.

Instance Attribute Summary

Attributes included from Lockable

#lock_key

Attributes included from Enterable

#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

#enterable?

Methods included from Standardized

#attached=, #attached?, #itemized?, #parent=, #portable?, #room

Instance Method Details

#accessibleObject



11
12
13
# File 'lib/gamefic/standard/entities/container.rb', line 11

def accessible
  open? ? super : []
end