Sha256: b720383c0c0a57dae80cf7fea63fa7cc84496e9979062bcbc0053035998b335f
Contents?: true
Size: 795 Bytes
Versions: 5
Compression:
Stored size: 795 Bytes
Contents
require 'diff_set' require 'cellect' require 'celluloid/autostart' require 'cellect/attention' module Cellect module Server require 'cellect/server/node_set' require 'cellect/server/adapters' require 'cellect/server/workflow' require 'cellect/server/grouped_workflow' require 'cellect/server/user' require 'cellect/server/api' class << self attr_accessor :node_set end # The server is ready when all workflows have finished loading def self.ready? Workflow.all.each do |workflow| return false unless workflow.ready? end true rescue false end def self.node_set @node_set ||= NodeSet.new end # Connects this server to the node set def self.connect node_set end end end
Version data entries
5 entries across 5 versions & 1 rubygems