Module: Databasedotcom::Sobject::NumericFieldsExtensions
- Included in:
- Databasedotcom::Sobject
- Defined in:
- lib/ext/databasedotcom.rb
Instance Method Summary collapse
Instance Method Details
#register_field(name, field) ⇒ Object
86 87 88 89 90 91 |
# File 'lib/ext/databasedotcom.rb', line 86 def register_field(name, field) super %w[scale precision length byteLength].each do |attr| self.type_map[name][attr.underscore.to_sym] = field[attr] if field[attr] end end |