Module: Alf::Viewpoint

Extended by:
ClassMethods
Defined in:
lib/alf/viewpoint.rb,
lib/alf/viewpoint/metadata.rb

Defined Under Namespace

Modules: ClassMethods Classes: Metadata

Constant Summary collapse

NATIVE =
Module.new{
  include ::Alf::Viewpoint
  def method_missing(name, *args, &bl)
    return super unless args.empty? and bl.nil?
    ::Alf::Algebra.named_operand(name, connection)
  end
}

Class Method Summary collapse

Methods included from ClassMethods

build, depends, expects, members, metadata, method_added, native, parse, parser

Class Method Details

.included(mod) ⇒ Object


53
54
55
# File 'lib/alf/viewpoint.rb', line 53

def self.included(mod)
  mod.extend(ClassMethods)
end