Class: WordAnalszer

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

Class Method Summary collapse

Class Method Details

.perform(word) ⇒ Object



4
5
6
7
8
9
# File 'lib/queue/word_analyser.rb', line 4

def self.perform(word)
  puts "About to do heavy duty analysis on #{word}"
  sleep 3 # fake analysis here
  # this would be something impressive
  puts "Finished with analysis on #{word}"
end