Module: Dynopoker
- Defined in:
- lib/dynopoker.rb,
lib/dynopoker/version.rb
Defined Under Namespace
Classes: Poker
Constant Summary collapse
- VERSION =
'1.3.2'
Class Method Summary collapse
Class Method Details
.configure(poker_factory = Poker, execution_flow = $0) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/dynopoker.rb', line 7 def self.configure(poker_factory = Poker, execution_flow = $0) poker_factory.new.tap do |p| yield p p.start! unless execution_flow =~ /rake/ end end |