Sha256: a6b1d9f7a155787e6230b7b50d25e08e9be7d664ec7815bf923061140761c4eb
Contents?: true
Size: 570 Bytes
Versions: 135
Compression:
Stored size: 570 Bytes
Contents
class Pry::Config require_relative 'config/behavior' require_relative 'config/default' require_relative 'config/convenience' include Pry::Config::Behavior def self.shortcuts Convenience::SHORTCUTS end # # FIXME # @param [Pry::Hooks] hooks # def hooks=(hooks) if hooks.is_a?(Hash) warn "Hash-based hooks are now deprecated! Use a `Pry::Hooks` object " \ "instead! http://rubydoc.info/github/pry/pry/master/Pry/Hooks" self["hooks"] = Pry::Hooks.from_hash(hooks) else self["hooks"] = hooks end end end
Version data entries
135 entries across 128 versions & 29 rubygems