Sha256: 18116ee73a024730455dece6b4cd20fac185e66e0b4385950469aae957a02a65
Contents?: true
Size: 529 Bytes
Versions: 31
Compression:
Stored size: 529 Bytes
Contents
module Hanami module Utils # Ordered file list, consistent across operating systems # # @since 0.9.0 module FileList # Return an ordered list of files, consistent across operating systems # # It has the same signature of <tt>Dir.glob</tt>, it just guarantees to # order the results before to return them. # # @since 0.9.0 # # @see https://ruby-doc.org/core/Dir.html#method-c-glob def self.[](*args) Dir.glob(*args).sort! end end end end
Version data entries
31 entries across 31 versions & 1 rubygems