Sha256: a67f5a2d43966a41ce10b1de78530576865a29ca75d3bd05e0b6cbec2a8f44e0

Contents?: true

Size: 740 Bytes

Versions: 1

Compression:

Stored size: 740 Bytes

Contents

require 'singleton'

module GemNewgem
  class Newgem
    class Configuration
      include Singleton

      def templates_base_dir
        "~/.newgem-templates/"
      end

      def default_template
        "default"
      end

      def default_template_git_url
        "git://github.com/elgalu/newgem-template.git"
      end

      def default_summary
        "TODO: Write a gem summary"
      end

      def option_summary_desc
        "Set the gem summary text now in case you want to save time."
      end

      def option_template_desc
        <<-DESC.gsub(/^\s*/, '')
        Use TEMPLATE instead of `default` template
        By default, all templates are looked at #{templates_base_dir}
        DESC
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gem-newgem-0.1.0 lib/gem_newgem/newgem/configuration.rb