Class: IChing::Hexagram
- Inherits:
-
Object
- Object
- IChing::Hexagram
- Includes:
- HasAttributes
- Defined in:
- lib/i_ching/hexagram.rb
Instance Attribute Summary
Attributes included from HasAttributes
Class Method Summary collapse
Instance Method Summary collapse
Methods included from HasAttributes
#has_attributes, included, #initialize
Class Method Details
.get(king_wen_number) ⇒ Object
7 8 9 |
# File 'lib/i_ching/hexagram.rb', line 7 def get(king_wen_number) new(table[king_wen_number: king_wen_number]) end |