Module: Ripl::Commands::Core
- Defined in:
- lib/ripl/commands.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.jumps ⇒ Object
8 9 10 |
# File 'lib/ripl/commands.rb', line 8 def self.jumps @jumps ||= [Ripl.shell.loop_eval("self")] end |
Instance Method Details
#config(name, val) ⇒ Object
16 17 18 19 |
# File 'lib/ripl/commands.rb', line 16 def config(name, val) Ripl.shell.respond_to?("#{name}=") ? Ripl.shell.send("#{name}=", val) : Ripl.config[name] = val end |