Sha256: 8568ede6f8f618cbd689f389eef5cbf11171b7e803bf5aee3a6ea9111b5eb093
Contents?: true
Size: 499 Bytes
Versions: 5
Compression:
Stored size: 499 Bytes
Contents
module PoolParty module Verifiers @available_verifiers =[] def self.available @available_verifiers end class VerifierBase attr_reader :host def self.inherited(subclass) unless Verifiers.available.include?(subclass) Verifiers.available << subclass end end def host=(h=nil) @host ||= h end def name @name ||= self.class.to_s.top_level_class end end end end
Version data entries
5 entries across 5 versions & 2 rubygems