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