Module: Yaoc::MappingBase

Includes:
AbstractType
Defined in:
lib/yaoc/mapping_base.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(other) ⇒ Object



6
7
8
# File 'lib/yaoc/mapping_base.rb', line 6

def self.included(other)
  other.extend(ClassMethods)
end

Instance Method Details

#converter_methodsObject



12
13
14
# File 'lib/yaoc/mapping_base.rb', line 12

def converter_methods
  self.class.converter_methods
end

#fetcherObject



16
17
18
# File 'lib/yaoc/mapping_base.rb', line 16

def fetcher
  defined?(super) ? super : :fetch
end