Method: Utils::IRB::Shell::ConstantWrapper#initialize
- Defined in:
- lib/utils/irb.rb
#initialize(obj, name) ⇒ ConstantWrapper
Returns a new instance of ConstantWrapper.
177 178 179 180 181 |
# File 'lib/utils/irb.rb', line 177 def initialize(obj, name) super(name) @klass = obj.class @description = "#@name:#@klass" end |