Class: GemNewgem::Newgem::Configuration
- Inherits:
-
Object
- Object
- GemNewgem::Newgem::Configuration
- Includes:
- Singleton
- Defined in:
- lib/gem_newgem/newgem/configuration.rb
Instance Method Summary collapse
- #default_summary ⇒ Object
- #default_template ⇒ Object
- #default_template_git_url ⇒ Object
- #option_summary_desc ⇒ Object
- #option_template_desc ⇒ Object
- #templates_base_dir ⇒ Object
Instance Method Details
#default_summary ⇒ Object
20 21 22 |
# File 'lib/gem_newgem/newgem/configuration.rb', line 20 def default_summary "TODO: Write a gem summary" end |
#default_template ⇒ Object
12 13 14 |
# File 'lib/gem_newgem/newgem/configuration.rb', line 12 def default_template "default" end |
#default_template_git_url ⇒ Object
16 17 18 |
# File 'lib/gem_newgem/newgem/configuration.rb', line 16 def default_template_git_url "git://github.com/elgalu/newgem-template.git" end |
#option_summary_desc ⇒ Object
24 25 26 |
# File 'lib/gem_newgem/newgem/configuration.rb', line 24 def option_summary_desc "Set the gem summary text now in case you want to save time." end |
#option_template_desc ⇒ Object
28 29 30 |
# File 'lib/gem_newgem/newgem/configuration.rb', line 28 def option_template_desc "Use TEMPLATE instead of `default`. All templates are looked at #{templates_base_dir}" end |
#templates_base_dir ⇒ Object
8 9 10 |
# File 'lib/gem_newgem/newgem/configuration.rb', line 8 def templates_base_dir "#{Dir.home}/.newgem-templates/" end |