Sha256: aaaa83797d18886157b4375f2058cb0b603551090ebd41f2f90670bf233c306f
Contents?: true
Size: 593 Bytes
Versions: 34
Compression:
Stored size: 593 Bytes
Contents
# frozen_string_literal: true require 'avm/sources/base/subs_paths' require 'eac_ruby_utils/core_ext' module Avm module Sources class Base class Sub # !method initialize(source, sub_path) # @param source [Avm::Sources::Base] # @param sub_path [Pathname] common_constructor :source, :sub_path do self.sub_path = sub_path.to_pathname end # @return [Pathname] def absolute_path sub_path.expand_path(source.path) end require_sub __FILE__, require_mode: :kernel end end end end
Version data entries
34 entries across 34 versions & 2 rubygems