summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorstrcmp <28xdb6+fvutuvy4f@grr.la>2015-12-27 06:19:04 +0000
committerstrcmp <28xdb6+fvutuvy4f@grr.la>2015-12-27 06:19:04 +0000
commit41fb3ae3dbab7580d926b9de144b549bfc96502b (patch)
treed1c25be187b8934c360223845efc79a72cd1cfa1 /lib
parent0213f8f0f97061acd10f3e874fa537fbd1537f0b (diff)
downloadpry-41fb3ae3dbab7580d926b9de144b549bfc96502b.tar.gz
feedback from PRpry-configure
Diffstat (limited to 'lib')
-rw-r--r--lib/pry/pry_class.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/pry/pry_class.rb b/lib/pry/pry_class.rb
index 8f98af4b..2a1bae76 100644
--- a/lib/pry/pry_class.rb
+++ b/lib/pry/pry_class.rb
@@ -34,7 +34,14 @@ class Pry
end
#
- # @return [void]
+ # @example
+ # Pry.configure do |config|
+ # config.eager_load! # optional
+ # config.input = # ..
+ # config.foo = 2
+ # end
+ #
+ # @yield [config]
# Yields a block with {Pry.config} as its argument.
#
def configure