Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (22 sloc) 0.491 kb
Pry.config.editor = proc { |file, line| "emacsclient +#{line} #{file}" }
Pry.config.pager = false
Pry.config.ls.separator = '\n'
Pry.config.history.file = '.pry_history'
begin
require 'awesome_print'
AwesomePrint.pry!
rescue
end
class Array
def self.toy(n = 10, &block)
block_given? ? Array.new(n, &block) : Array.new(n) { |i| i + 1 }
end
end
class Hash
def self.toy(n = 10)
Hash[Array.toy(n).zip(Array.toy(n) { |c| (96 + (c + 1)).chr })]
end
end
def r
reload!
end
Jump to Line
Something went wrong with that request. Please try again.