Module: Celluloid::Supervision::Container::Behavior::ClassMethods

### Home Classes Methods

### In Files

- lib/celluloid/supervision/container/behavior.rb

### Methods

- #behavior_injections
- #identifier!

### Class/Module Index

Quicksearch

- Celluloid
- Celluloid::ClassMethods
- Celluloid::Supervision
- Celluloid::Supervision::Configuration
- Celluloid::Supervision::Configuration::Error
- Celluloid::Supervision::Configuration::Error::AlreadyDefined
- Celluloid::Supervision::Configuration::Error::Incomplete
- Celluloid::Supervision::Configuration::Error::Invalid
- Celluloid::Supervision::Configuration::Error::InvalidSupervisor
- Celluloid::Supervision::Configuration::Error::InvalidValues
- Celluloid::Supervision::Configuration::Injection
- Celluloid::Supervision::Configuration::Instance
- Celluloid::Supervision::Container
- Celluloid::Supervision::Container::Behavior
- Celluloid::Supervision::Container::Behavior::ClassMethods
- Celluloid::Supervision::Container::Behavior::Error
- Celluloid::Supervision::Container::Behavior::Error::Mutant
- Celluloid::Supervision::Container::Injection
- Celluloid::Supervision::Container::Instance
- Celluloid::Supervision::Container::Tree
- Celluloid::Supervision::Error
- Celluloid::Supervision::Error::NoPublicService
- Celluloid::Supervision::Service
- Celluloid::Supervision::Service::Public
- Celluloid::Supervision::Service::Root
- Celluloid::Supervisor

No matching classes.

# Celluloid::Supervision::Container::Behavior::ClassMethods

### Public Instance Methods

behavior_injections() click to toggle source

    # File lib/celluloid/supervision/container/behavior.rb, line 75
    def behavior_injections
      Behavior.injections[self] ||= {}
    end

identifier!(identifier, *aliases) click to toggle source

    # File lib/celluloid/supervision/container/behavior.rb, line 66
    def identifier!(identifier, *aliases)
      Behavior[identifier] = self
      Configuration.parameter! :plugins, identifier
      aliases.each do |aliased|
        Configuration.alias! aliased, identifier
      end
      Configuration.save_defaults
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.