module FeideeUtils::Mixins::Type

Requires:

instance methods: raw_type

Public Class Methods

included(klass) click to toggle source
# File lib/feidee_utils/mixins/type.rb, line 24
def self.included klass
  klass.extend ClassMethods
end

Public Instance Methods

type() click to toggle source
# File lib/feidee_utils/mixins/type.rb, line 28
def type
 self.class::TypeEnum[raw_type]
end