Sha256: e6ec3b5e8d1bbeb82dd04441580a0ce4cd7cff9d5985f6f59248048890217c82
Contents?: true
Size: 269 Bytes
Versions: 1
Compression:
Stored size: 269 Bytes
Contents
# frozen_string_literal: true module Stashify class Directory attr_reader :name def initialize(name:) @name = name end def find(name) if directory?(name) directory(name) else file(name) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stashify-1.0.1 | lib/stashify/directory.rb |