Sha256: ba0308e2875870821d6b1636442f0d1f7933f6ed88bfed433b70f926c95d7b9d

Contents?: true

Size: 214 Bytes

Versions: 1

Compression:

Stored size: 214 Bytes

Contents

module Rails
  module ConsoleMethods
    def self.included(_base)
      catch(:halt) do
        ConsoleCreep.config.authenticator.call
        return true
      end
      exit("Exiting console.")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
console_creep-0.1.0 lib/console_creep/console_methods.rb