Sharing ruby code

C

cibercitizen1

I've developed a simple plotter of math functions.
What is a good place to share the code?

Just for the curious it is to be used this way

p = Plotter.new {
leftX -2.0
rightX 2.0
inf 0.0
sup 2.0*Math::pI
funClass Circum
}

p.show

where

class Circum < Function
def self.vx (p)
Math.sin(p)
end

def self.vy (p)
Math.cos(p)
end
end
 
C

Chris Lowis

cibercitizen1 said:
I've developed a simple plotter of math functions.
What is a good place to share the code?

If you can package it as a gem, rubyforge is the best place to share it.
If you'd like to get some feedback and hack on the code with other
people, github is quite popular for that sort of thing.

Packaging as a gem : http://railscasts.com/episodes/135-making-a-gem
(not the 'official' documentation, but a very useful tutorial)
Rubyforge : https://github.com/
Github : http://rubyforge.org/

Hope this helps,

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,186
Messages
2,570,998
Members
47,587
Latest member
JohnetteTa

Latest Threads

Top