# File lib/pry/command_set.rb, line 110 def create_command(match, description="No description.", options={}, &block) description, options = ["No description.", description] if description.is_a?(Hash) options = Pry::Command.default_options(match).merge!(options) @commands[match] = Pry::ClassCommand.subclass(match, description, options, helper_module, &block) @commands[match].class_eval(&block) @commands[match] end