Sha256: 356916833404c19fd7b283c9036105fd58c0a2c908a06b32463c7c1a2bd96c0e

Contents?: true

Size: 894 Bytes

Versions: 2

Compression:

Stored size: 894 Bytes

Contents

require "hirb"
require "pry"
require "pry-byebug"
require "pry-doc"
require "pry-git"
require "pry-remote"
require "readline"
require "jazz_fingers/hirb_ext"

module JazzFingers
  autoload :Configuration, "jazz_fingers/configuration"
  autoload :Input, "jazz_fingers/input"
  autoload :Print, "jazz_fingers/print"
  autoload :Prompt, "jazz_fingers/prompt"
  autoload :VERSION, "jazz_fingers/version"

  class << self
    def print
      @print ||= Print.config
    end

    def prompt
      @prompt ||=
        Prompt.new(
          colored: config.colored_prompt,
          separator: config.prompt_separator,
          application_name: config.application_name
        )
      @prompt.config
    end

    def input
      @input ||= Input.config
    end

    def configure
      yield @config ||= Configuration.new
    end

    def config
      @config ||= Configuration.new
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jazz_fingers-2.0.1 lib/jazz_fingers.rb
jazz_fingers-2.0.1.rc1 lib/jazz_fingers.rb