Class: Developmentkit::Tool

Inherits:
Object
  • Object
show all
Defined in:
lib/developmentkit/tool.rb

Class Method Summary collapse

Class Method Details

.dependencies_mapObject



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_commandObject



4
5
6
7
# File 'lib/developmentkit/tool.rb', line 4

def show_bundle_command
  puts " *** Bundle Command ***"
  puts "bundle update #{dependencies_map}"
end