end
attr :profiler_manifest, :item_name, :manifest,
- :columns, :lists, :associations
+ :column_names, :lists, :associations
def initialize manifest, item_name, profiler_manifest
@manifest = manifest
@item_name = item_name
end
def set_default
- @profiler_manifest['columns'] ||= []
+ @profiler_manifest['column_names'] ||= []
@profiler_manifest['lists'] ||= {}
@profiler_manifest['associations'] ||= {}
end
def init
- @columns = @profiler_manifest['columns']
+ @column_names = @profiler_manifest['column_names']
@lists = {}
@profiler_manifest['lists'].each {|list_name, list_manifest|
@lists[list_name] = ProfilerModule::List.new(self, list_name, list_manifest)
@associations = ProfilerModule::Association.new(self, @profiler_manifest['associations'])
end
- def open item, operators
- ProfilerView.new @item_name, item, operators, @profiler_conf, @manifest
+ def each_column
+ @column_names
end
end