Method: Elastictastic::Field.process
- Defined in:
- lib/elastictastic/field.rb
.process(field_name, default_options, &block) ⇒ Object
5 6 7 8 9 |
# File 'lib/elastictastic/field.rb', line 5 def self.process(field_name, , &block) {}.tap do |properties| new(field_name, , properties, &block) end end |