Sha256: afcbcb79e4e0791db52b0d38ace7c71fb8de450f80d222ed52610bd24edb6d74

Contents?: true

Size: 294 Bytes

Versions: 3

Compression:

Stored size: 294 Bytes

Contents

module <%= config[:gem_class] %>
  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.label_version
      [label, version].join " "
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gemsmith-5.3.0 lib/gemsmith/templates/%gem_name%/lib/%gem_name%/identity.rb.tt
gemsmith-5.2.0 lib/gemsmith/templates/%gem_name%/lib/%gem_name%/identity.rb.tt
gemsmith-5.1.0 lib/gemsmith/templates/%gem_name%/lib/%gem_name%/identity.rb.tt