Sha256: b0173b5e18455ca26077d331eb090cfbd481dd27ebf5d91e3b1fafd135f1d8b8
Contents?: true
Size: 533 Bytes
Versions: 19
Compression:
Stored size: 533 Bytes
Contents
module Isomorfeus class Console def initialize config_ru = File.read('config.ru') config_ru.each_line do |line| if line.start_with?('require_relative') file = line[17..-1].rstrip.tr('"','').tr("'",'') file = file + '.rb' unless file.end_with?('.rb') require File.join(Dir.pwd, file) end end Isomorfeus.zeitwerk.enable_reloading Isomorfeus.zeitwerk.setup Isomorfeus.zeitwerk.eager_load end def run Isomorfeus.pry end end end
Version data entries
19 entries across 19 versions & 1 rubygems