Sha256: f7ce91b572a448cd41694add6a9b6a64de3dd06efc11251a88f4ac770fbee63c
Contents?: true
Size: 504 Bytes
Versions: 4
Compression:
Stored size: 504 Bytes
Contents
# frozen_string_literal: true require "refinements/structs" module Rubysmith module CLI module Configuration module Enhancers # Adds this gem's version to content. class Version using Refinements::Structs def initialize version = Identity::VERSION_LABEL @version = version end def call(content) = content.merge(version: version) private attr_reader :version end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems