Class: Developmentkit::Tool
- Inherits:
-
Object
- Object
- Developmentkit::Tool
- Defined in:
- lib/developmentkit/tool.rb
Class Method Summary collapse
Class Method Details
.dependencies_map ⇒ Object
9 10 11 12 |
# File 'lib/developmentkit/tool.rb', line 9 def dependencies_map spec = Gem::Specification.load 'developmentkit.gemspec' spec.runtime_dependencies.map(&:name).join(' ') end |
.show_bundle_command ⇒ Object
4 5 6 7 |
# File 'lib/developmentkit/tool.rb', line 4 def show_bundle_command puts " *** Bundle Command ***" puts "bundle update #{dependencies_map}" end |