class LunarShell::Engine
Public Instance Methods
mount_path()
click to toggle source
# File lib/lunar_shell/engine.rb, line 15 def mount_path @mount_path ||= routes.url_helpers.root_path[0..-2] end
run_command_path(command)
click to toggle source
# File lib/lunar_shell/engine.rb, line 19 def run_command_path(command) run_path.gsub('run', "#{command}/run") end
run_path()
click to toggle source
# File lib/lunar_shell/engine.rb, line 23 def run_path @run_path ||= routes.url_helpers.satellites_run_path end