Class: Safrano::RgxFixedTypeMapping

Inherits:
RgxTypeMapping show all
Defined in:
lib/safrano/type_mapping.rb

Overview

Fixed type (ie. without variable parts)

Instance Attribute Summary

Attributes inherited from RgxTypeMapping

#db_types_rgx

Attributes inherited from TypeMapping

#castfunc, #edm_type

Instance Method Summary collapse

Methods inherited from RgxTypeMapping

builder

Constructor Details

#initialize(builder) ⇒ RgxFixedTypeMapping

Returns a new instance of RgxFixedTypeMapping.



170
171
172
173
# File 'lib/safrano/type_mapping.rb', line 170

def initialize(builder)
  @edm_type = builder.xedm_type
  @castfunc = builder.castfunc
end