Module: Xipai
- Defined in:
- lib/xipai.rb,
lib/xipai/cli.rb,
lib/xipai/core.rb,
lib/xipai/result.rb,
lib/xipai/version.rb,
lib/xipai/table_set.rb,
lib/xipai/arrangement/base.rb,
lib/xipai/arrangement/pair.rb,
lib/xipai/arrangement/team.rb,
lib/xipai/arrangement/order.rb,
lib/xipai/hashcode_generator.rb,
lib/xipai/arrangement/lottery.rb
Defined Under Namespace
Modules: Arrangement, Core, HashcodeGenerator, TableSet
Classes: CLI, Result
Constant Summary
collapse
- VERSION =
"0.0.1"
Class Method Summary
collapse
Class Method Details
.lets_do_this!(_mode, _options) ⇒ Object
13
14
15
16
17
|
# File 'lib/xipai.rb', line 13
def lets_do_this!(_mode, _options)
xipai = Xipai::TableSet.parse_options(_mode, _options)
result = xipai.apply
return result
end
|
.replay!(yamldata, _options) ⇒ Object
19
20
21
22
23
|
# File 'lib/xipai.rb', line 19
def replay!(yamldata, _options)
xipai = Xipai::TableSet.parse_yaml(yamldata)
result = xipai.apply
return result
end
|