Method: LatoCore::Interface::Application#core__get_application_gems
- Defined in:
- lib/lato_core/interfaces/application.rb
#core__get_application_gems ⇒ Object
This function return the list of gems used by the application.
13 14 15 16 17 18 19 |
# File 'lib/lato_core/interfaces/application.rb', line 13 def core__get_application_gems gems = {} Bundler.load.specs.each do |spec| gems[spec.name] = spec.version end gems end |