lib/fix/protocol/messages/market_data_request.rb
#
# Check that the collections aren't empty
#
Check that the collections aren't empty
Check that the collections aren ' t empty
def errors
          errs = []
          errs << "MdEntryTypes can not be empty" if md_entry_types.empty?
          errs << "Instruments can not be empty"  if instruments.empty?
          [super, errs].flatten
        end
def errors errs = [ ] errs << "MdEntryTypes can not be empty" if md_entry_types . empty? errs << "Instruments can not be empty" if instruments . empty? [ super , errs ] . flatten end
Check that the collections aren't empty
Check that the collections aren ' t empty