module Ripl::Irb::ConvertIrb
Constants
- CONFIG_MAP
- DESC_MAP
- RETURN_MAP
Public Instance Methods
[](key)
click to toggle source
# File lib/ripl/irb.rb, line 51 def [](key) return RETURN_MAP[key] unless Ripl.config[:irb_verbose] if ripl_key = CONFIG_MAP[key] puts "Use Ripl.config[#{ripl_key.inspect}] instead of IRB.conf[#{key.inspect}]" elsif desc = DESC_MAP[key] puts desc end RETURN_MAP[key] end
[]=(key, val)
click to toggle source
# File lib/ripl/irb.rb, line 46 def []=(key, val) self[key] val end