Returns a new instance of Graph.
23 24 25 26 27 28
# File 'lib/hashematics/graph.rb', line 23 def initialize(groups = []) @group_dictionary = Dictionary.new.add(groups, &:name) @record_set = RecordSet.new freeze end