Sha256: 830b960c435f0b5a09acc1f772c5ccd2733202d768c6e6bddbf5ac92aef091b7
Contents?: true
Size: 1004 Bytes
Versions: 1
Compression:
Stored size: 1004 Bytes
Contents
require 'active_support/core_ext/object/blank' require 'active_support/core_ext/module/introspection' require 'active_support/core_ext/hash/deep_dup' require 'active_support/core_ext/hash/keys' require 'active_support/core_ext/hash/conversions' require 'builder' require 'multi_json' require 'active_attr' require 'rubiks/version' module ::Rubiks autoload :Cube, 'rubiks/cube' autoload :Hierarchy, 'rubiks/hierarchy' autoload :Dimension, 'rubiks/dimension' autoload :Schema, 'rubiks/schema' autoload :Level, 'rubiks/level' autoload :NamedObject, 'rubiks/named_object' autoload :Measure, 'rubiks/measure' autoload :CalculatedMeasure, 'rubiks/calculated_measure' def self.connection Rubiks::Mondrian.connection end def self.clear_cache ::Rubiks::Mondrian.flush_schema_cache ::Rubiks::Mondrian.reset_connection end def self.execute(query) ::Rubiks::Mondrian.connection.execute(query) end def self.schema @schema ||= ::Rubiks::Schema.default end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubiks-0.1.6 | lib/rubiks.rb |