Class: Tuttle::GemsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/tuttle/gems_controller.rb

Instance Method Summary collapse

Instance Method Details

#get_process_memObject

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_clientsObject



11
12
# File 'app/controllers/tuttle/gems_controller.rb', line 11

def http_clients
end

#indexObject



7
8
9
# File 'app/controllers/tuttle/gems_controller.rb', line 7

def index
  @gemspecs = Bundler.rubygems.all_specs.sort_by(&:name)
end

#jsonObject



14
15
# File 'app/controllers/tuttle/gems_controller.rb', line 14

def json
end

#otherObject



24
25
# File 'app/controllers/tuttle/gems_controller.rb', line 24

def other
end