Class: Tuttle::GemsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Tuttle::GemsController
- Defined in:
- app/controllers/tuttle/gems_controller.rb
Instance Method Summary collapse
-
#get_process_mem ⇒ Object
rubocop:disable Naming/AccessorMethodName.
- #http_clients ⇒ Object
- #index ⇒ Object
- #json ⇒ Object
- #other ⇒ Object
Instance Method Details
#get_process_mem ⇒ Object
rubocop:disable Naming/AccessorMethodName
17 18 19 20 21 22 |
# File 'app/controllers/tuttle/gems_controller.rb', line 17 def get_process_mem # rubocop:disable Naming/AccessorMethodName require 'get_process_mem' require 'get_process_mem/version' @memory_self = GetProcessMem.new @memory_parent = GetProcessMem.new(Process.ppid) end |
#http_clients ⇒ Object
11 12 |
# File 'app/controllers/tuttle/gems_controller.rb', line 11 def http_clients end |
#index ⇒ Object
7 8 9 |
# File 'app/controllers/tuttle/gems_controller.rb', line 7 def index @gemspecs = Bundler.rubygems.all_specs.sort_by(&:name) end |
#json ⇒ Object
14 15 |
# File 'app/controllers/tuttle/gems_controller.rb', line 14 def json end |
#other ⇒ Object
24 25 |
# File 'app/controllers/tuttle/gems_controller.rb', line 24 def other end |