class Utils::IRB::Shell::ConstantWrapper
def initialize(obj, name)
-
(Utils::Patterns::Pattern)
- a new pattern instance configured with the provided arguments
Parameters:
-
name
(String
) -- the name to be used in the description -
obj
(Object
) -- the object whose class will be referenced
def initialize(obj, name) super(name) @klass = obj.class @description = "#@name:#@klass" end