Sha256: 4c19d1b2fe03f982f0d24d02525b296ede119ff1bee6524ecc304e8271d20b96

Contents?: true

Size: 660 Bytes

Versions: 108

Compression:

Stored size: 660 Bytes

Contents

# frozen_string_literal: true

require 'avm/eac_ruby_base1/sources/base'
require 'avm/version_number'
require 'eac_ruby_utils/core_ext'

module Avm
  module EacRubyBase1
    module LauncherStereotypes
      class Base
        module LocalProjectMixin
          # @return [Avm::EacRubyBase1::Sources::Base]
          def ruby_gem
            @ruby_gem ||= ::Avm::EacRubyBase1::Sources::Base.new(path)
          end

          def version
            ruby_gem.version.if_present { |v| ::Avm::VersionNumber.new(v) }
          end

          def version=(value)
            ruby_gem.version_file.value = value
          end
        end
      end
    end
  end
end

Version data entries

108 entries across 108 versions & 2 rubygems

Version Path
avm-eac_ruby_base1-0.35.1 lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
eac_tools-0.96.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
avm-eac_ruby_base1-0.35.0 lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
eac_tools-0.95.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
avm-eac_ruby_base1-0.34.1 lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
eac_tools-0.91.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
avm-eac_ruby_base1-0.34.0 lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
eac_tools-0.91.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
avm-eac_ruby_base1-0.33.1 lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
eac_tools-0.83.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
eac_tools-0.82.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
eac_tools-0.81.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
avm-eac_ruby_base1-0.33.0 lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
eac_tools-0.80.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
eac_tools-0.79.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
avm-eac_ruby_base1-0.32.1 lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
eac_tools-0.78.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
avm-eac_ruby_base1-0.32.0 lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
eac_tools-0.77.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
eac_tools-0.77.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb