Module: Gamefic::Standard::Enterable

Included in:
Receptacle, Supporter
Defined in:
lib/gamefic/standard/enterable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#enterable=(value) ⇒ Object (writeonly)

Sets the attribute enterable

Parameters:

  • value

    the value to set the attribute enterable to.



6
7
8
# File 'lib/gamefic/standard/enterable.rb', line 6

def enterable=(value)
  @enterable = value
end

Instance Method Details

#enterable?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/gamefic/standard/enterable.rb', line 8

def enterable?
  @enterable ||= false
end