Sha256: 9915ccb78fafcc25705f7594b456762159d05fd4778f2e9a64284e3e7082a61f

Contents?: true

Size: 345 Bytes

Versions: 3

Compression:

Stored size: 345 Bytes

Contents

module Overapp
  module Load
    class LocalDir < Base
      def path; Overapp.to_proper_dir(descriptor); end

      def load(base,ops)
        if Overapp::Project.project? path
          Project.new(:descriptor => path).load(base,ops)
        else
          RawDir.new(:descriptor => path).load(base,ops)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
overapp-0.4.2 lib/overapp/load/types/local_dir.rb
overapp-0.4.1 lib/overapp/load/types/local_dir.rb
overapp-0.4.0 lib/overapp/load/types/local_dir.rb