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.



11
12
13
# File 'lib/dynopoker.rb', line 11

def address
  @address
end

#enableObject

Returns the value of attribute enable.



11
12
13
# File 'lib/dynopoker.rb', line 11

def enable
  @enable
end

#loggerObject

Returns the value of attribute logger.



11
12
13
# File 'lib/dynopoker.rb', line 11

def logger
  @logger
end

#poke_frequencyObject

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