Class: Dynopoker::Poker

Inherits:
Object
  • Object
show all
Defined in:
lib/dynopoker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#addressObject

Returns the value of attribute address.



15
16
17
# File 'lib/dynopoker.rb', line 15

def address
  @address
end

#enableObject Also known as: enable?

Returns the value of attribute enable.



15
16
17
# File 'lib/dynopoker.rb', line 15

def enable
  @enable
end

#loggerObject

Returns the value of attribute logger.



15
16
17
# File 'lib/dynopoker.rb', line 15

def logger
  @logger
end

#poke_frequencyObject

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!
  merge_default_options!
  start_poking_thread! if enable?
end