Class: EacRubyBase0::Application
- Inherits:
-
Object
- Object
- EacRubyBase0::Application
- Defined in:
- lib/eac_ruby_base0/application.rb
Instance Method Summary collapse
Instance Method Details
#all_gems ⇒ Object
20 21 22 |
# File 'lib/eac_ruby_base0/application.rb', line 20 def all_gems vendor_gems + [self_gem] end |
#fs_cache ⇒ Object
36 37 38 39 40 |
# File 'lib/eac_ruby_base0/application.rb', line 36 def fs_cache @fs_cache ||= ::EacRubyUtils::FilesystemCache.new( cache_dir.join(::EacRubyUtils::FilesystemCache.name.parameterize) ) end |
#home_dir ⇒ Object
42 43 44 |
# File 'lib/eac_ruby_base0/application.rb', line 42 def home_dir @home_dir ||= ([OPTION_HOME_DIR] || ENV.fetch('HOME')).to_pathname end |
#name ⇒ Object
46 47 48 |
# File 'lib/eac_ruby_base0/application.rb', line 46 def name [OPTION_NAME] || self_gem.name end |
#vendor_dir ⇒ Object
50 51 52 |
# File 'lib/eac_ruby_base0/application.rb', line 50 def vendor_dir gemspec_dir.join('vendor') end |