lib/rib/shell.rb in rib-1.0.0 vs lib/rib/shell.rb in rib-1.0.1
- old
+ new
@@ -11,15 +11,14 @@
end
attr_reader :config
def initialize(config={})
self.config = {
- :result_prompt => '=> ' ,
- :prompt => '>> ' ,
- :binding => TOPLEVEL_BINDING ,
- :exit => [nil, 'exit', 'quit'],
- :line => 1
- }.merge(config)
+ :result_prompt => '=> ' ,
+ :prompt => '>> ' ,
+ :binding => TOPLEVEL_BINDING,
+ :exit => [nil] ,
+ :line => 1 }.merge(config)
@running = false
end
# Loops shell until user exits
def loop