Module: Drymm::Shapes::ASTMethods::ClassMethods Private

Defined in:
lib/drymm/shapes/ast_methods.rb

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.

Instance Method Summary collapse

Instance Method Details

#compiler(registry = compiler_registry()) ⇒ #call

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 is abstract.

Should be overriden in subclasses to return specific compiler

Parameters:

  • registry (container) (defaults to: compiler_registry())

Returns:

  • (#call)

Raises:

  • (NotImplementedError)


47
48
49
# File 'lib/drymm/shapes/ast_methods.rb', line 47

def compiler(registry = compiler_registry())
  raise NotImplementedError
end

#compiler_registrycontainer

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 is abstract.

Should be overriden in subclasses to return specific registry

Returns:

  • (container)

Raises:

  • (NotImplementedError)


54
55
56
# File 'lib/drymm/shapes/ast_methods.rb', line 54

def compiler_registry
  raise NotImplementedError
end