Sha256: 0623707a144bcc22f3089ce7f101156c0a116a8875139f3eee907e8417880b5a

Contents?: true

Size: 614 Bytes

Versions: 63

Compression:

Stored size: 614 Bytes

Contents

Collection of utilities to make ruby ...more friendly from the get-go [really things that *should* have been added to core, because of immense convenience]

Currently this includes:

require_rel glob
  * require a file relative to the current file, i.e.
  >> require_rel 'lib/filename'

Object#in?
 # ex:
 >> 3.in? [1,2,3]
 => true
  
println
 like print, but with a carriage return at the end:
 >> println 1,2,3
 (prints 123\n)

enumerable-extra
  #new enumerable #map
  >> [1,2,3].map(:to_s) # applies it automatically! far less ugly than [1,2,3].map &:to_s
  => ["1", "2", "3"]

Don't leave home without these!

Version data entries

63 entries across 63 versions & 2 rubygems

Version Path
sane-0.19.0 README
sane-0.18.0 README
sane-0.17.1 README
sane-0.17.0 README
sane-0.16.1 README
sane-0.16.0 README
sane-0.15.0 README
sane-0.14.0 README
sane-0.12.2 README
sane-0.12.0 README
sane-0.11.1 README
sane-0.11.0 README
sane-0.10.3 README
sane-0.10.2 README
sane-0.10.1 README
sane-0.10.0 README
sane-0.9.5 README
sane-0.9.4 README
sane-0.9.3 README
sane-0.9.2 README