Module: Jaina::Parser::Expression::Registry::AccessInterfaceMixin Private

Included in:
Jaina::Parser::Expression
Defined in:
lib/jaina/parser/expression/registry/access_interface_mixin.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base_klass) ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Parameters:

  • base_klass (Class)

Since:

  • 0.1.0



11
12
13
14
# File 'lib/jaina/parser/expression/registry/access_interface_mixin.rb', line 11

def included(base_klass)
  base_klass.instance_variable_set(:@__expression_registry__, Registry.new)
  base_klass.extend(ClassMethods)
end