Class: Promethee::Data::Master

Inherits:
Promethee::Data show all
Defined in:
lib/promethee/data/master.rb

Instance Method Summary collapse

Methods inherited from Promethee::Data

#[], #data, #include?, #to_json

Constructor Details

#initialize(data) ⇒ Master

Returns a new instance of Master.



2
3
4
5
# File 'lib/promethee/data/master.rb', line 2

def initialize(data)
  super data
  fix_master_integrity
end

Instance Method Details

#flatObject



7
8
9
# File 'lib/promethee/data/master.rb', line 7

def flat
  flatten_components @data
end