Method: Censive#stats
- Defined in:
- lib/censive.rb
#stats ⇒ Object
262 263 264 265 266 267 268 |
# File 'lib/censive.rb', line 262 def stats wide = string.size.to_s.size puts "%#{wide}d rows" % @rows.size puts "%#{wide}d columns" % @cols puts "%#{wide}d cells" % @cells puts "%#{wide}d bytes" % string.size end |