Sha256: c42757ae47901f3081bf596c1f3a35332f3f5058467950f7cc465b404e31e2ce

Contents?: true

Size: 204 Bytes

Versions: 8

Compression:

Stored size: 204 Bytes

Contents

module Perus::Server
    class Alert < Sequel::Model
        def execute(systems)
            systems.select do |system|
                system.instance_eval(code)
            end
        end
    end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
perus-0.1.7 lib/perus/server/models/alert.rb
perus-0.1.6 lib/perus/server/models/alert.rb
perus-0.1.5 lib/perus/server/models/alert.rb
perus-0.1.4 lib/perus/server/models/alert.rb
perus-0.1.3 lib/perus/server/models/alert.rb
perus-0.1.2 lib/perus/server/models/alert.rb
perus-0.1.1 lib/perus/server/models/alert.rb
perus-0.1.0 lib/perus/server/models/alert.rb