Class: Nova::Starbound::DefaultBehavior
- Inherits:
-
Object
- Object
- Nova::Starbound::DefaultBehavior
- 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
Instance Method Summary collapse
-
#initialize(protocol) ⇒ DefaultBehavior
constructor
Initialize the class.
Methods included from Eventable::ClassMethods
Methods included from Eventable::InstanceMethods
Methods included from Echoable
Methods included from StarRunnable
Methods included from Passwordable
#authenticated?, #check_password, included, #valid_password?
Methods included from Eventable
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 |