Sha256: 0988d306ce610b8cdacb76871e70e9cabd414d48b7bd654144079546cae0d61b

Contents?: true

Size: 376 Bytes

Versions: 27

Compression:

Stored size: 376 Bytes

Contents

module Alchemy::Custom::Model::ElFinder
  module Paths
    class Root < Base

      def is_root?
        true
      end

      def with_sub_dirs?
        true
      end


      def children(with_directory = true)
        [
            Images.new(@root, 'images', volume: @volume),
            Files.new(@root, 'files', volume: @volume)
        ]
      end

    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
alchemy-custom-model-3.2 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-3.1.5 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-3.1.4 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-3.1.3 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-3.1.2 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-3.1.1 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-3.1.0 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-2.2.2 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-3.0.0 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-2.2.1 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-2.2.0 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-2.1.2 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-2.1.1 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-2.1.0 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-2.0.3 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-2.0.2 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-2.0.1 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-2.0.0 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-0.1.9 lib/alchemy/custom/model/el_finder/paths/root.rb
alchemy-custom-model-0.1.7 lib/alchemy/custom/model/el_finder/paths/root.rb