Class: Alchemist::Commands::Lock

Inherits:
Base show all
Defined in:
lib/alchemist-server/commands/lock.rb

Instance Attribute Summary

Attributes inherited from Base

#avatar_name, #history

Instance Method Summary collapse

Methods inherited from Base

#initialize, #outcome, pattern, run

Constructor Details

This class inherits a constructor from Alchemist::Commands::Base

Instance Method Details

#runObject



6
7
8
# File 'lib/alchemist-server/commands/lock.rb', line 6

def run
  outcome "locked", history.world.lock
end