module Ellipses::Client::Command::DSL
Public Instance Methods
command(name, argc: (0..))
click to toggle source
# File lib/ellipses/client/command.rb, line 19 def command(name, argc: (0..)) Commands.register name, Proto.new(name: name, klass: self, argc: Support.to_range(argc)) end