class InstaCLI::ExceptionVariant
Contract matching any descendant of Exception
Public Class Methods
valid?(object)
click to toggle source
# File lib/instacli/exception_variant.rb, line 4 def self.valid?(object) object.ancestors.include? Exception end