Sha256: 79a9d07bbe4598dfd62c43f980424c4a37edbb9546c74c9bbc058889dfd97e7c

Contents?: true

Size: 291 Bytes

Versions: 3

Compression:

Stored size: 291 Bytes

Contents

module Bluepill
  module ProcessConditions
    def self.name_to_class(name)
      "#{self}::#{name.to_s.camelcase}".constantize
    end
  end
end

require "bluepill/process_conditions/process_condition"
Dir["#{File.dirname(__FILE__)}/process_conditions/*.rb"].each do |pc|
  require pc
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bluepill-0.0.5 lib/bluepill/process_conditions.rb
bluepill-0.0.4 lib/bluepill/process_conditions.rb
bluepill-0.0.3 lib/bluepill/process_conditions.rb