class Mondrian::OLAP::Schema::Hierarchy

Public Class Methods

new(name = nil, attributes = {}, parent = nil) click to toggle source
Calls superclass method
# File lib/mondrian/olap/schema.rb, line 159
def initialize(name = nil, attributes = {}, parent = nil)
  super
  # set :has_all => true if :all_member_name is set
  if @attributes[:has_all].nil? && @attributes[:all_member_name]
    @attributes[:has_all] = true
  end
end