Project

power_p

0.0
No commit activity in last 3 years
No release in over 3 years
Extend Kernel#p with power_assert
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 1.1.0
 Project Readme

power_p¶ ↑

About¶ ↑

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>