Class: Hex2

Inherits:
Hex1 show all
Defined in:
lib/iching.rb

Instance Attribute Summary

Attributes inherited from Hex1

#hex

Instance Method Summary collapse

Methods inherited from Hex1

#hex_name, #hex_symbol, #initialize

Methods included from Dictionaries

#list

Constructor Details

This class inherits a constructor from Hex1

Instance Method Details

#bin_hex_keyObject



46
47
48
# File 'lib/iching.rb', line 46

def bin_hex_key
  { 6 => '1', 7 => '1', 8 => '0', 9 => '0'}
end

#hexagram_keyObject



50
51
52
# File 'lib/iching.rb', line 50

def hexagram_key
  { 6 => '-----', 7 => '-----', 8 => '-- --', 9 => '-- --'}
end