Class: Watchers

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

Class Method Summary (collapse)

Class Method Details

+ (Object) all(options = {})



21
22
23
# File 'lib/noah/watchers.rb', line 21

def self.all(options = {})
  options.empty? ? Watcher.all.sort : Watcher.find(options).sort
end