Class: Dynopoker::Poker
- Inherits:
-
Object
- Object
- Dynopoker::Poker
- Defined in:
- lib/dynopoker.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#enable ⇒ Object
Returns the value of attribute enable.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#poke_frequency ⇒ Object
Returns the value of attribute poke_frequency.
Instance Method Summary collapse
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
11 12 13 |
# File 'lib/dynopoker.rb', line 11 def address @address end |
#enable ⇒ Object
Returns the value of attribute enable.
11 12 13 |
# File 'lib/dynopoker.rb', line 11 def enable @enable end |
#logger ⇒ Object
Returns the value of attribute logger.
11 12 13 |
# File 'lib/dynopoker.rb', line 11 def logger @logger end |
#poke_frequency ⇒ Object
Returns the value of attribute poke_frequency.
11 12 13 |
# File 'lib/dynopoker.rb', line 11 def poke_frequency @poke_frequency end |
Instance Method Details
#start! ⇒ Object
13 14 15 16 |
# File 'lib/dynopoker.rb', line 13 def start! start_poking_thread! if should_poke? end |