30 Jul '12, 3am

@bhavint Writing a #Ruby gem is quite easy

@bhavint Writing a #Ruby gem is quite easy

To solve various problems with Ruby, you might develop your own libraries. Also, you might want to open-source your libraries to get help from the Ruby community and have many developers working on the same. A gem is a packaged Ruby application or library. RubyGems is the standard way to distribute Ruby applications and libraries and is available to you after you have downloaded and installed Ruby 1.9+. Let us create a simple Ruby library Let’s first create a simple library that extends the String class and store this in a file called my_string_extend.rb 1 in the folder my_string_extend/lib . The lib folder will contain the Ruby code related to the library: # my_string_extend.rb class String def writesize self.size end end The library opens up the String class and adds a method writesize (which returns the size of the string). For open-source applications, the gem server t...

Full article: http://rubylearning.com/blog/how-do-i-create-and-publish-...

Tweets

mopup (0.0.2): White space and tab clean up and...

rubygems.org 29 Jul '12, 3pm

mopup 0.0.1 White space and tab clean up and removal tool install gem install mopup Download Documentation Subscribe Stats...

Thanks to @samullen & this @peterc vid & this S...

rubyinside.com 30 Jul '12, 7am

I hang out in #nwrug on Freenode, the IRC channel of a Ruby user group here in the UK, and floated the idea of doing a Pos...

Top Ruby Article: A FAQ About "How To Create Yo...

gilesbowkett.blogspot.com 29 Jul '12, 11pm

I advertise this in my blog sidebar, and blogged it once or twice: I've run into a couple misconceptions here and there on...

Synack: Mountain Lion Notifications via Ruby

rubyflow.com 30 Jul '12, 4pm

Synack: Mountain Lion Notifications via Ruby Posted by Bantik on July 30, 2012 — 0 comments Synack is a client/server wrap...

Ruby with MongoDB for Web Development

rubyflow.com 30 Jul '12, 6am

Ruby with MongoDB for Web Development Posted by IndianGuru on July 30, 2012 — 0 comments The article "Ruby with MongoDB fo...

The differences between dup and clone in Ruby

rubyflow.com 30 Jul '12, 12am

The differences between dup and clone in Ruby Posted by mattetti on July 29, 2012 — 0 comments I just wrote a quick explan...

redis-stat - command-line #Redis monitoring too...

rubygems.org 28 Jul '12, 11pm

redis-stat 0.2.1 A command-line Redis monitoring tool install gem install redis-stat Download Documentation Subscribe Stat...

gem push した

rubygems.org 05 Aug '12, 4pm

motion-fontawesome 0.0.1 ease to use Font Awesome via RubyMotion install gem install motion-fontawesome Download Documenta...

infusionsoft (1.1.0c): A Ruby wrapper written f...

rubygems.org 30 Jul '12, 3am

A Ruby wrapper written for the Infusionsoft API

RubyLearning has written some Ruby programming ...

rubylearning.com 27 Jul '12, 2am

After years with Java development and some various experience with the framework Ruby on Rails, I wanted to get a broader ...

synack (1.2.0): A Ruby server for terminal-noti...

rubygems.org 29 Jul '12, 1am

synack 1.0.0 A Ruby server for terminal-notifier install gem install synack Download Documentation Subscribe Stats Authors...

Check it out- the Braintree ruby gem has offici...

rubygems.org 02 Aug '12, 9pm

Ruby library for integrating with the Braintree Gateway

Released my first ruby gem! Scrape HTML (for Dr...

rubygems.org 04 Aug '12, 5pm

flatfish accepts a CSV of URLS with CSS selectors prepping them for insert into drupal

“@seawolf: @AndyCallaghan for GEM in `curl ; do...

rubygems.org 07 Aug '12, 4pm

4,055 downloads a (0.1.1) Summary 1,585 downloads a13g (0.1.0.beta3) A13g allows you to use event-driven architecture in y...