Sha256: 345060f2dc08fcf47a7eb81e489ea0bcaf8b83d71d3b4af00c8fa8043a45cb98
Contents?: true
Size: 1.02 KB
Versions: 14
Compression:
Stored size: 1.02 KB
Contents
# frozen_string_literal: true require 'avm/with/application_stereotype' require 'eac_ruby_utils/core_ext' module Avm module Scms class Base require_sub __FILE__, include_modules: true enable_abstract_methods enable_simple_cache include ::Avm::With::ApplicationStereotype abstract_methods :update, :valid? common_constructor :path do self.path = path.to_pathname end # @return [Avm::Scms::ChangedFile] def changed_files raise_abstract_method __method__ end # @return [Avm::Scms::Interval] def interval(_from, _to) raise_abstract_method __method__ end def name self.class.name.demodulize end # @return [Enumerable<Avm::Scms::Base>] def subs raise_abstract_method __method__ end def to_s name end private # @return [Avm::Scms::Base] def parent_scm_uncached ::Avm::Registry.scms.detect_by_path_optional(path.parent) end end end end
Version data entries
14 entries across 14 versions & 2 rubygems