Skip to content

k-tsj/power_p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extend Kernel#p with power_assert.

Note that power_p works only if p is written in the file.

$ cat test.rb
p { 3.times.to_a }

$ ruby -rpower_p test.rb
p { 3.times.to_a }
      |     |
      |     [0, 1, 2]
      #<Enumerator: 3:times>

About

Extend Kernel#p with power_assert

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages