Sha256: f78517731ddb0f89eb1666dca97657a476b38f204692406e20ac18494c460fc2
Contents?: true
Size: 345 Bytes
Versions: 148
Compression:
Stored size: 345 Bytes
Contents
#!/usr/bin/env ruby # File: script/console irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb' requires = %w{ irb/completion samples/samples } includes = %w{ lib spec } def to_param(flag, items) items.map{|lib| "#{flag} #{lib}"}.join(' ') end exec "#{irb} #{to_param('-I', includes)} #{to_param('-r', requires)} --simple-prompt"
Version data entries
148 entries across 148 versions & 1 rubygems