Pleased to announce release version “commit
440ca77a867a317bd9b3549f6009cc8745c1c291” (ok that’s a joke number, but
hey).
of my ruby allgems docs site.
http://allgems.ruby-forum.com
http://rubydoc.ruby-forum.com
Changes:
- new urls, thanks Andreas!
- added latest gems [currently have 4905 versions of 4721 gems–see if
yours is there, plan to do daily updates]
=== Description
Why this site? Because some gem rdocs aren’t online, and lots (most?)
aren’t in the hanna theme, which is much easier to read and has
searchable methods. Having centralized docs also allows you do skip
local gem rdoc install, which makes gem installs sooo much faster.
That’s it.
=== A few success stories (ok so they’re just mine):
- Ruby doesn’t by default allow for hash arithmetic
{:a => 3} - {:a => 3}
=> {}
Searching gems for the word “hash” I found one that adds set operations
to hashes, so I thus didn’t have to write my own.
http://allgems.ruby-forum.com/gems/hash_set_operators/0.1.0
Yea!
- Browsing gems’ docs, I ran into a nice gem: enumerable-extra
http://allgems.ruby-forum.com/gems/doc/enumerable-extra/0.1.0
Describes itself as
array.map(:upcase) => [‘FOO’, ‘BAR’, ‘BAZ’]
array.map(:+, ‘A’) => [‘fooA’, ‘barA’, ‘bazA’]
This library was created in reaction to the ugly “&” (or worse, “&its”)
notation started by Ruby on Rails and perpetuated by the Symbol#to_proc
adherents.
This clicked with me–I disliked &:symbol notation when I first used it,
and somewhat still do.
I plan on adding the github gems next.
Feedback welcome.
Thanks much.
=roger