class Rpush::Daemon::Store::Interface
Constants
- PUBLIC_METHODS
Public Class Methods
check(klass)
click to toggle source
# File lib/rpush/daemon/store/interface.rb, line 13 def self.check(klass) missing = PUBLIC_METHODS - klass.instance_methods.map(&:to_sym) fail "#{klass} must implement #{missing.join(', ')}." if missing.any? end