Module: Eapi::Methods::Types::InstanceMethods
- Defined in:
- lib/eapi/methods/types.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
54 55 56 |
# File 'lib/eapi/methods/types.rb', line 54 def self.included(klass) klass.send :include, IsAnOtherTypeMethods end |
Instance Method Details
#is?(type) ⇒ Boolean
49 50 51 52 |
# 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 |