Class: Nova::Starbound::DefaultBehavior

Inherits:
Object
  • Object
show all
Extended by:
Eventable::ClassMethods
Includes:
Echoable, Eventable, Eventable::InstanceMethods, Passwordable, StarRunnable
Defined in:
lib/nova/starbound/default_behavior.rb,
lib/nova/starbound/default_behavior/echoable.rb,
lib/nova/starbound/default_behavior/eventable.rb,
lib/nova/starbound/default_behavior/passwordable.rb,
lib/nova/starbound/default_behavior/star_runnable.rb

Defined Under Namespace

Modules: Echoable, Eventable, Passwordable, StarRunnable

Instance Attribute Summary

Attributes included from Passwordable

#password

Instance Method Summary collapse

Methods included from Eventable::ClassMethods

handle, handles

Methods included from Eventable::InstanceMethods

#attach_events

Methods included from Echoable

included

Methods included from StarRunnable

included, #run_star

Methods included from Passwordable

#authenticated?, #check_password, included, #valid_password?

Methods included from Eventable

included

Constructor Details

#initialize(protocol) ⇒ DefaultBehavior

Initialize the class.



20
21
22
# File 'lib/nova/starbound/default_behavior.rb', line 20

def initialize(protocol)
  attach_events protocol
end