Sha256: b221f79beda69b7aba983ba65a9b975c4dae3bcfd992a1a497a1f0b9bfb1f66d
Contents?: true
Size: 353 Bytes
Versions: 3
Compression:
Stored size: 353 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
glimmer-0.3.5 | lib/command_handlers/shell_command_handler.rb |
glimmer-0.3.4 | lib/command_handlers/shell_command_handler.rb |
glimmer-0.3.3 | lib/command_handlers/shell_command_handler.rb |