Sha256: f4a1f45f3afeaf974bd71810b370d277f5f404c51fa0bd99d2c6eabfd31fc8b1

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

module <%= config[:gem_class] %>
  # The canonical source of gem 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.5.0 lib/gemsmith/templates/%gem_name%/lib/%gem_name%/identity.rb.tt