lib/iso8583/message.rb
# Modifies the field definitions of the fields passed
# in through the `bmp` and `mti_format` class methods.
#
Modifies the field definitions of the fields passed
in through the `bmp` and `mti_format` class methods.
Modifies the field definitions of the fields passed in through the ` bmp ` and ` mti_format ` class methods .
def _handle_opts(field, opts)
        opts.each_pair {|key, value|
          key = (key.to_s+"=").to_sym
          if field.respond_to?(key)
            field.send(key, value)
          else
            warn "unknown option #{key} for #{field.name}"
          end
        }
      end
def _handle_opts ( field , opts ) opts . each_pair { | key , value | key = ( key . to_s + "=" ) . to_sym if field . respond_to? ( key ) field . send ( key , value ) else warn "unknown option #{key} for #{field.name}" end } end
Modifies the field definitions of the fields passed
in through the `bmp` and `mti_format` class methods.
Modifies the field definitions of the fields passed in through the ` bmp ` and ` mti_format ` class methods .
field
<not_specific>
opts
<not_specific>