|
@@ -119,11 +119,9 @@ module Bitshift |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
def to_s |
|
|
def to_s |
|
|
new_symbols = Hash.new |
|
|
|
|
|
|
|
|
new_symbols = Hash.new {|hash, key| hash[key] = Hash.new} |
|
|
|
|
|
|
|
|
symbols.each do |type, sym_list| |
|
|
symbols.each do |type, sym_list| |
|
|
new_symbols[type.to_s] = Hash.new |
|
|
|
|
|
|
|
|
|
|
|
sym_list.each do |name, sym| |
|
|
sym_list.each do |name, sym| |
|
|
new_symbols[type.to_s][name.to_s] = { |
|
|
new_symbols[type.to_s][name.to_s] = { |
|
|
"assignments" => sym[:assignments], |
|
|
"assignments" => sym[:assignments], |
|
|