lib/jets/commands/console.rb in jets-3.1.1 vs lib/jets/commands/console.rb in jets-3.1.2
- old
+ new
@@ -1,6 +1,12 @@
class Jets::Commands::Console
- def self.run
+ attr_reader :environment
+
+ def initialize(environment)
+ @environment = environment
+ end
+
+ def run
puts Jets::Booter.message
# Thanks: https://mutelight.org/bin-console
require "irb"
require "irb/completion"