module T::Private::Abstract::Validate

def self.validate_interface_all_public(mod, method_names)

def self.validate_interface_all_public(mod, method_names)
_names.map do |method_name|
thod_defined?(method_name)
(mod.instance_method(method_name), show_owner: false)
y?
s on an interface must be public. If you intend to have non-public " \
eclare your class/module using `abstract!` instead of `interface!`. " \
ing methods on `#{mod}` are not public: \n#{violations.join("\n")}"