Sha256: 1eeb12d7e057c5759e177fbb8cdaa152cedf6899aec2f9744e5aa028e796b065
Contents?: true
Size: 500 Bytes
Versions: 6
Compression:
Stored size: 500 Bytes
Contents
# frozen_string_literal: true # Groups Statements and YNAB4File module Documents documents = %w[statement ynab4_file] # Load all known Documents documents.each do |d| # Require the base classes first so that its children can find the parent # class since files are otherwise loaded in alphabetical order require File.join(__dir__, 'documents', "#{d}s", "#{d}.rb") Dir[File.join(__dir__, 'documents', "#{d}s", '*.rb')].sort.each do |file| require file end end end
Version data entries
6 entries across 6 versions & 1 rubygems