Sha256: a5e8c912ab74fa5da48ded11b73373414dd3ae39f1c2b9984170204882ade0ec
Contents?: true
Size: 390 Bytes
Versions: 4
Compression:
Stored size: 390 Bytes
Contents
require File.dirname(__FILE__) + "/../command_handler" require File.dirname(__FILE__) + "/models/g_shell" module Glimmer 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) GShell.send(:new, *args) end end end
Version data entries
4 entries across 4 versions & 1 rubygems