Sha256: 3db669cf60ca358d9a8d4d9205050c0dc9885c000fd114470cedfa459120aaac

Contents?: true

Size: 495 Bytes

Versions: 25

Compression:

Stored size: 495 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'
require 'eac_templates/interface_methods'

module EacTemplates
  module Modules
    class Ancestor
      module FsObject
        delegate :found?, :path, to: :source_object

        # @return [Pathname]
        def path_for_search_prefix
          owner.path_for_search
        end

        private

        def source_object_uncached
          owner.source_set.send(type, path_for_search)
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
eac_templates-0.5.1 lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.76.0 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.75.2 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.75.1 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.75.0 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.74.1 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.74.0 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.73.0 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.72.0 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.70.1 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.70.0 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.69.1 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.69.0 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.68.0 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.67.1 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.67.0 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.66.0 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.65.1 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.65.0 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb
eac_tools-0.64.0 sub/eac_templates/lib/eac_templates/modules/ancestor/fs_object.rb