lib/ronin/ui/console/console.rb in ronin-1.4.0 vs lib/ronin/ui/console/console.rb in ronin-1.4.1

- old
+ new

@@ -34,13 +34,13 @@ module Console # The history file for the Console session HISTORY_FILE = File.join(Config::PATH,'console.log') - @@color = !(STDOUT.tty?) + @@color = !(STDOUT.tty?) @@short_errors = !(ENV.has_key?('VERBOSE')) - @@auto_load = [] + @@auto_load = [] @@setup_blocks = [] # # Determines whether colorized output will be enabled. # @@ -198,14 +198,14 @@ # run the supplied configuration block is given context.instance_eval(&block) if block # Start the Ripl console Ripl.start( - :argv => [], - :name => 'ronin', + :argv => [], + :name => 'ronin', :binding => context.instance_eval('binding'), :history => HISTORY_FILE, - :irbrc => false + :irbrc => false ) return context end