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
rogerdpack-sane-0.1.0 README
rogerdpack-sane-0.1.1 README
rogerdpack-sane-0.1.2 README
rogerdpack-sane-0.1.4 README
rogerdpack-sane-0.1.5 README
rogerdpack-sane-0.1.6 README
rogerdpack-sane-0.1.7 README
rogerdpack-sane-0.1.8 README
rogerdpack-sane-0.1.9 README
rogerdpack-sane-0.2.0 README
sane-0.25.6 README
sane-0.25.5 README
sane-0.25.4 README
sane-0.25.3 README
sane-0.25.2 README
sane-0.25.1 README
sane-0.25.0 README
sane-0.24.6 README
sane-0.24.5 README
sane-0.24.4 README