class Pry::CommandSet
def initialize(*imported_sets, &block)
- Yield: - Optional block run to define commands
Parameters:
-
imported_sets(Array) --
def initialize(*imported_sets, &block) @commands = {} @helper_module = Module.new import(*imported_sets) instance_eval(&block) if block end