Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Noob Question: New to Programming
Eric Raio
1/5/2009 7:25:00 PM
Hey I am very new to ruby I am trying to learn as much as I can, I was
looking at this repository and I am curious what this method actually
means.
def self.create_new(params={})
Could someone break it down to me I apologize I am new I do not
understand what the "self.create" means
Thanks
Eric
--
Posted via
http://www.ruby-...
.
1 Answer
Phlip
1/5/2009 8:29:00 PM
0
Eric Raio wrote:
> Hey I am very new to ruby I am trying to learn as much as I can, I was
> looking at this repository and I am curious what this method actually
> means.
>
> def self.create_new(params={})
>
> Could someone break it down to me I apologize I am new I do not
> understand what the "self.create" means
Start here:
http://tryruby....
Next, you gotta walk before you can run. Print out any of the excellent Ruby
books and curl up with it! Reciting them ain't the best use for this newsgroup.
If I told you "define a class method, not instance method, that can call with
nothing or with an option-hash", then we would get mired in recursive definitions...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Noob Question: New to Programming
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password