Module: Nova::Starbound::DefaultBehavior::Echoable

Included in:
Nova::Starbound::DefaultBehavior
Defined in:
lib/nova/starbound/default_behavior/echoable.rb

Class Method Summary collapse

Class Method Details

.included(reciever) ⇒ void

This method returns an undefined value.

Called when this module is included into another module. Sets up the echo packet management.

Parameters:

  • reciever (Module)


11
12
13
# File 'lib/nova/starbound/default_behavior/echoable.rb', line 11

def self.included(reciever)
  reciever.handle :packet => :echo
end