Sha256: ebff5803df52daaff014ae508a6276931f42c684c597f963e945909eeec3487f
Contents?: true
Size: 664 Bytes
Versions: 10
Compression:
Stored size: 664 Bytes
Contents
Dir[File.dirname(__FILE__) + '/controllers/*.rb'].each {|file| require file unless File.basename(file) == 'init.rb'} Dir[File.dirname(__FILE__) + '/helpers/*.rb'].each {|file| require file unless File.basename(file) == 'init.rb'} Slim::Engine.set_options pretty: true def get_menu(current) @menu = ['Logs','Processes','Commands','Sequences','RestCLIENT','Proxy/Links','Documentation'] @menu_icons = {'Logs' => "file-text",'Processes' => "cogs",'Commands' => 'play-circle-o','Sequences' => "cubes",'RestCLIENT' => "server",'Proxy/Links' => 'random','Documetation' => 'medkit'} @current_item = nil @current_item = @menu[current] unless current == -1 end
Version data entries
10 entries across 10 versions & 1 rubygems