module Activecube::ViewDefinition

Attributes

activecube_indexes[R]
models[R]

Public Instance Methods

index(index_name, *args) click to toggle source
# File lib/activecube/view_definition.rb, line 7
def index index_name, *args
  (@activecube_indexes ||= []) << Activecube::Processor::Index.new(index_name,*args)
end
table(x) click to toggle source
# File lib/activecube/view_definition.rb, line 11
def table x
  (@models ||= []) << x
end