Module: ImedoClientCommunication::Context

Defined in:
lib/imedo_client_communication/context.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



41
42
43
44
45
46
47
48
49
50
# File 'lib/imedo_client_communication/context.rb', line 41

def self.included(receiver)
  receiver.extend         ClassMethods
  receiver.send :include, InstanceMethods

  receiver.class_eval do
    class_inheritable_accessor :context_providers
    self.context_providers = {}
    helper_method :dump_context if self.respond_to?(:helper_method)
  end
end