Class: Hosts
- Inherits:
-
Object
- Object
- Hosts
- Defined in:
- lib/noah/hosts.rb
Class Method Summary (collapse)
-
+ (Array) all(options = {})
Array of Host objects.
Class Method Details
+ (Array) all(options = {})
Array of Host objects
80 81 82 |
# File 'lib/noah/hosts.rb', line 80 def self.all( = {}) .empty? ? Host.all.sort : Host.find().sort end |