module Eapi::Methods::Types::InstanceMethods

Public Class Methods

included(klass) click to toggle source
# File lib/eapi/methods/types.rb, line 54
def self.included(klass)
  klass.send :include, IsAnOtherTypeMethods
end

Public Instance Methods

is?(type) click to toggle source
# File lib/eapi/methods/types.rb, line 49
def is?(type)
  return true if type.kind_of?(Module) && kind_of?(type)
  self.class.is?(type)
end