Sha256: 20edddedb3e52b4c83edd15cff34425ad03f36b14dcf53960eba2ebff7552b88
Contents?: true
Size: 359 Bytes
Versions: 18
Compression:
Stored size: 359 Bytes
Contents
require File.dirname(__FILE__) + "/../command_handler" require File.dirname(__FILE__) + "/models/r_shell" class ShellCommandHandler include CommandHandler def can_handle?(parent, command_symbol, *args, &block) command_symbol.to_s == "shell" end def do_handle(parent, command_symbol, *args, &block) RShell.send(:new, *args) end end
Version data entries
18 entries across 18 versions & 1 rubygems