Class: TagIt::TagSnapshot
Instance Attribute Summary
Attributes inherited from Monitor
Instance Method Summary collapse
Methods inherited from Monitor
#initialize, #monitor_tags, #pulse!, #split_tag_data
Constructor Details
This class inherits a constructor from TagIt::Monitor
Instance Method Details
#shoot! ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/tag_it/tag_snapshot.rb', line 4 def shoot! = [] begin do |tag_name,strength| return if !.index(tag_name).nil? << tag_name end rescue Timeout::Error #do nothing, let tags return end end |