Sha256: 2d2ee9941420a18f0c1e961f783183c6a9e890897053d4b98252bcf4e8f25d2d

Contents?: true

Size: 419 Bytes

Versions: 1

Compression:

Stored size: 419 Bytes

Contents

module <%= config[:gem_class] %>
  # Gem identity information.
  module Identity
    def self.name
      "<%= config[:gem_name] %>"
    end

    def self.label
      "<%= config[:gem_class] %>"
    end

    def self.version
      "0.1.0"
    end

    def self.version_label
      [label, version].join " "
    end
    <%- if config[:bin] -%>

    def self.file_name
      ".#{name}rc"
    end
    <%- end -%>
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemsmith-5.6.0 lib/gemsmith/templates/%gem_name%/lib/%gem_name%/identity.rb.tt