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
(also: #enable?)
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.
15 16 17 |
# File 'lib/dynopoker.rb', line 15 def address @address end |
#enable ⇒ Object Also known as: enable?
Returns the value of attribute enable.
15 16 17 |
# File 'lib/dynopoker.rb', line 15 def enable @enable end |
#logger ⇒ Object
Returns the value of attribute logger.
15 16 17 |
# File 'lib/dynopoker.rb', line 15 def logger @logger end |
#poke_frequency ⇒ Object
Returns the value of attribute poke_frequency.
15 16 17 |
# File 'lib/dynopoker.rb', line 15 def poke_frequency @poke_frequency end |
Instance Method Details
#start! ⇒ Object
18 19 20 21 |
# File 'lib/dynopoker.rb', line 18 def start! start_poking_thread! if enable? end |