Class: FReCon::Console
Class Method Summary collapse
Class Method Details
.start(configuration: Configuration.construct!) ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/frecon/console.rb', line 17 def self.start(configuration: Configuration.construct!) environment = configuration["frecon"]["console"]["environment"] mongoid = configuration["frecon"]["database"]["mongoid"] Database.setup(environment: environment, mongoid: mongoid) require "pry" FReCon.pry end |