Sha256: 13ce9a3c17b4967d290d808440ebdf99926f84120686a2882db27b5481aa1b64

Contents?: true

Size: 134 Bytes

Versions: 8

Compression:

Stored size: 134 Bytes

Contents

Kernel.class_eval do
  alias_method :old_p, :p
  def p *args
    puts args.collect{|a| a.inspect}.join(' ')
    return *args
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby_ext-0.5.8 lib/ruby_ext/more/miscellaneous.rb
ruby_ext-0.5.7 lib/ruby_ext/more/miscellaneous.rb
ruby_ext-0.5.6 lib/ruby_ext/more/miscellaneous.rb
ruby_ext-0.5.5 lib/ruby_ext/more/miscellaneous.rb
ruby_ext-0.5.4 lib/ruby_ext/more/miscellaneous.rb
ruby_ext-0.5.3 lib/ruby_ext/more/miscellaneous.rb
ruby_ext-0.5.2 lib/ruby_ext/more/miscellaneous.rb
ruby_ext-0.5.1 lib/ruby_ext/more/miscellaneous.rb