apeiros changed the topic of #ruby-lang to: Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste code on https://gist.github.com
MXfive has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
cpt_yossarian has joined #ruby-lang
loincloth has joined #ruby-lang
apt-get_ has joined #ruby-lang
gwendall has joined #ruby-lang
michaeldeol has quit [Quit: Textual IRC Client: www.textualapp.com]
loincloth has quit [Ping timeout: 256 seconds]
apt-get__ has quit [Ping timeout: 272 seconds]
mikecmpbll has quit [Quit: ciao.]
gwendall has quit [Ping timeout: 240 seconds]
apt-get_ has quit [Remote host closed the connection]
marr has quit []
centrx has quit [Quit: Shutting down, Please wait...]
Guest25 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
MXfive has quit [Quit: Textual IRC Client: www.textualapp.com]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RobertBirnie has quit [Ping timeout: 240 seconds]
hahuang65_ has joined #ruby-lang
_djbkd has quit [Remote host closed the connection]
lytol has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 264 seconds]
seank_ has joined #ruby-lang
centrx has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
fedexo has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
cornerman has quit [Read error: Connection reset by peer]
cornerman has joined #ruby-lang
voxxit has quit [Quit: ZNC - http://znc.in]
voxxit has joined #ruby-lang
scottj has joined #ruby-lang
chinmay_dd has quit [Ping timeout: 272 seconds]
sankaber has joined #ruby-lang
chinmay_dd has joined #ruby-lang
setanta_ has quit [Quit: Leaving]
RickHull has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
bruno- has quit [Ping timeout: 264 seconds]
ozialien has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: zzz]
caseypatrickdris has joined #ruby-lang
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
centrx has quit [Quit: Shutting down, Please wait...]
ozialien has joined #ruby-lang
konr has quit [Quit: Connection closed for inactivity]
fujimura has joined #ruby-lang
shinnya has joined #ruby-lang
fujimura has quit [Read error: Connection reset by peer]
fujimura has joined #ruby-lang
fujimura has quit [Read error: Connection reset by peer]
fujimura has joined #ruby-lang
RickHull has joined #ruby-lang
RickHull has quit [Read error: Connection reset by peer]
bb010g has quit [Quit: Connection closed for inactivity]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
yfeldblum has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
|jemc| has quit [Ping timeout: 245 seconds]
ur5us has quit [Remote host closed the connection]
hahuang65_ has quit [Quit: Connection closed for inactivity]
fujimura has quit [Remote host closed the connection]
fujimura has joined #ruby-lang
|jemc| has joined #ruby-lang
RickHull has joined #ruby-lang
RickHull has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
gwendall has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
gix has quit [Ping timeout: 250 seconds]
nedp has joined #ruby-lang
gix has joined #ruby-lang
symm- has joined #ruby-lang
jgpawletko has quit [Quit: jgpawletko]
fujimura has quit [Remote host closed the connection]
gix has quit [Ping timeout: 246 seconds]
sankaber has joined #ruby-lang
gix has joined #ruby-lang
hendranata_ has joined #ruby-lang
leat has quit [Ping timeout: 256 seconds]
duderonomy has joined #ruby-lang
chinmay_dd has quit [Ping timeout: 244 seconds]
brianpWins has joined #ruby-lang
fujimura has joined #ruby-lang
Sonja has joined #ruby-lang
symm-_ has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
leat has joined #ruby-lang
symm-_ is now known as symm-
ozialien has quit [Remote host closed the connection]
havenwood has quit []
fedexo has quit [Remote host closed the connection]
fedexo has joined #ruby-lang
Guest25 has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
|jemc| has quit [Ping timeout: 264 seconds]
bruno- has joined #ruby-lang
Iskarlar has joined #ruby-lang
bruno- has quit [Ping timeout: 248 seconds]
LMity has joined #ruby-lang
futilegames has joined #ruby-lang
leat has quit [Ping timeout: 248 seconds]
leat has joined #ruby-lang
LMity has quit [Ping timeout: 250 seconds]
Forgetful_Lion has quit [Remote host closed the connection]
Iskarlar has quit [Read error: Connection reset by peer]
Iskarlar has joined #ruby-lang
leat has quit [Ping timeout: 245 seconds]
Guest25 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
loincloth has joined #ruby-lang
chinmay_dd has joined #ruby-lang
leat has joined #ruby-lang
loincloth has quit [Ping timeout: 264 seconds]
symm- has quit [Ping timeout: 250 seconds]
kstuart has joined #ruby-lang
fusillicode1 has joined #ruby-lang
fusillicode has quit [Quit: Leaving.]
fusillicode has joined #ruby-lang
kstuart_ has quit [Ping timeout: 265 seconds]
fusillicode1 has quit [Ping timeout: 248 seconds]
fusillicode1 has joined #ruby-lang
fusillicode has quit [Ping timeout: 272 seconds]
fusillicode has joined #ruby-lang
Iskarlar has quit [Read error: Connection reset by peer]
Iskarlar has joined #ruby-lang
fusillicode1 has quit [Ping timeout: 255 seconds]
|jemc| has joined #ruby-lang
fusillicode1 has joined #ruby-lang
fusillicode has quit [Ping timeout: 245 seconds]
fusillicode has joined #ruby-lang
fusillicode1 has quit [Ping timeout: 255 seconds]
Sonja has quit []
fujimura has quit [Remote host closed the connection]
Technodrome has joined #ruby-lang
<Technodrome> Hello
<Technodrome> how can end have a method call on it? I’ve noticed this a few times in code
fujimura has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
fujimura has joined #ruby-lang
<|jemc|> Technodrome: `end` marks the end of one of several different kinds of expressions, and all these expressions have a particular result value
fusillicode1 has joined #ruby-lang
<|jemc|> so when you see a method being chained onto the `end`, it's a method called on the result value
<|jemc|> >> if true; 88; else 99; end.to_s
<eval-in> |jemc| => "88" (https://eval.in/315301)
<|jemc|> here, roughly the same as:
<|jemc|> >> (true ? 88 : 99).to_s
<eval-in> |jemc| => "88" (https://eval.in/315302)
fusillicode has quit [Ping timeout: 256 seconds]
scottj has quit [Quit: leaving]
loincloth has joined #ruby-lang
Iskarlar has quit [Read error: Connection reset by peer]
Iskarlar has joined #ruby-lang
loincloth has quit [Ping timeout: 256 seconds]
<Technodrome> ljarvis: thiss was a block in this case
<Technodrome> |jemc|: err
<Technodrome> end.click_button
hendranata_ has quit [Ping timeout: 265 seconds]
<|jemc|> same story - the `click_button` method is called on the result of the preceding expression (whatever that method returns)
lytol has joined #ruby-lang
|jemc| has quit [Ping timeout: 244 seconds]
leat has quit [Ping timeout: 248 seconds]
leat has joined #ruby-lang
charliesome has joined #ruby-lang
leat has quit [Ping timeout: 264 seconds]
leat has joined #ruby-lang
<Technodrome> wha would be returned in that block? i see a method call, then the setting of an instance variable
Iskarlar has quit [Read error: Connection reset by peer]
Iskarlar has joined #ruby-lang
byprdct has quit [Ping timeout: 250 seconds]
SylarRuby has joined #ruby-lang
charliesome has quit [Quit: zzz]
chinmay_dd has quit [Ping timeout: 248 seconds]
riotjones has joined #ruby-lang
Senjai has quit [Ping timeout: 264 seconds]
fedexo has quit [Ping timeout: 245 seconds]
riotjones has quit [Ping timeout: 265 seconds]
caseypatrickdris has quit [Remote host closed the connection]
Iskarlar has quit [Read error: Connection reset by peer]
Senjai has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
Iskarlar has joined #ruby-lang
fujimura has joined #ruby-lang
fujimura has quit [Ping timeout: 240 seconds]
qba73 has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
skade has joined #ruby-lang
<jhass> Technodrome: the expression is the method call, foo() and foo() {} and foo do; end; are all method calls, the block is part of the expression. chaining a method onto that expression calls it on the return value, foo.submit, foo {}.submit, foo do; end.submit
qba73 has quit [Ping timeout: 245 seconds]
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
kstuart_ has joined #ruby-lang
qba73_ has joined #ruby-lang
qba73_ has left #ruby-lang [#ruby-lang]
kstuart has quit [Ping timeout: 265 seconds]
fujimura has joined #ruby-lang
Iskarlar has quit [Read error: Connection reset by peer]
<Technodrome> jhass: essentially in tha case its calling .submit on the return value of the get method
Iskarlar has joined #ruby-lang
<jhass> yes
<Technodrome> sorry for being stupid on that, just been doing python for a while, i almost forgot that a block is really just an argument, nothing special
<jhass> no worries
<Technodrome> jhass: i do have one more question , what does it mean when you have
<Technodrome> expressions.more.more || new
<jhass> that's or
<Technodrome> i know the or
<Technodrome> but the new , i don’t see how that keyword alone can be valid like that
<jhass> an expression can be composed of multiple expressions (and usually is in fact)
<jhass> so expressions.more.more is an expression too
<Technodrome> the only part that confused me of that , was the new
<jhass> new is just a method call
<jhass> or a local variable if one with that name exists
<jhass> note, that the new in Foo.new is just a method call too
<Technodrome> yes i’m talking new all by itself right of the OR operator
<Technodrome> i saw this in a railscasts
<jhass> expressions.more.more || self.new # would be an equivalent expression
<jhass> (most likely)
<Technodrome> there was no self in this case, it was just new
<jhass> yeah, "equivalent" means "has the same effect/behavior"
<Technodrome> ah , ok i still don’t see how this is useful
<jhass> huh?
<jhass> def create; :a end; a = fetch_from_db || create # does that make sense to you?
skade has quit [Quit: Computer has gone to sleep.]
<Technodrome> in that expression you made, what is a ?
<Technodrome> is it inside the method body? , it looks like it is
<jhass> a symbol
<jhass> don't worry about it, not the part we're digesting right now
<Technodrome> so essentially you are doing create :a at the end?
<Technodrome> i understand symbols from smalltalk
<jhass> I just put it there so the method returns something, it's not important
<jhass> do you understand the fetch_from_db || create in that context?
<Technodrome> ok , so either a = fetch etc returns something with a boolean of true, or it runs create right?
<jhass> a = (fetch_from_db || create)
<jhass> so it calls fetch_from_db and if that returns nil or false, it calls create
<jhass> so a is assigned either the return value of fetch_from_db if it's not nil or false or the return value of create
<Technodrome> ah ok
<Technodrome> so basically if find by id returns false , it will run new
<jhass> a = fetch_from_db || new # same thing, either the return value of fetch_from_db if it's not nil or false, or the return value of calling the new method
<jhass> yup
bruno- has joined #ruby-lang
<Technodrome> full thing here
<Technodrome> so its calling the new method on the Product class right?
<jhass> yes, since it's inside a def self.foo
<Technodrome> so essentially that is calling Product.new? or self.new
<jhass> both are the same in this case
<Technodrome> not to sound even more dumb here, but self.something, defines a class method right?
fujimura has quit [Remote host closed the connection]
<jhass> yeah, we call them that
fujimura has joined #ruby-lang
<jhass> and new is a class method (a method that you call on the class) too
<Technodrome> thats why we are able to instansiate a Product object with new there is because its a class method right?
<jhass> yeah
<Technodrome> if it was a regular instance method, that woudl not be possible right?
<jhass> right, there's no instance in that context
<Technodrome> so you would get an error right away
<Technodrome> interesting
<Technodrome> I know all these concepts from other languages and things, its just I’m triying to mold everything
bruno- has quit [Ping timeout: 240 seconds]
<Technodrome> i had no idea new by itself was the same as self.new but then again new is just a method right, i keep thinkng of it as one of those special
<Technodrome> “keywords”
<jhass> yep, a surprising amount of stuff in Ruby is just method calls
<Technodrome> just as I fogot that the do / end or { } is just an argument
<jhass> attr_*, include, require, all just methods
<Technodrome> i was thinking special forms or something
<Technodrome> heck all property access is just method calls with you have the accessor right
<jhass> yup
fujimura has quit [Ping timeout: 245 seconds]
<jhass> all operators too, foo * bar with foo being your own class, you just define a * method on it to make it work
Iskarlar has quit [Read error: Connection reset by peer]
Iskarlar has joined #ruby-lang
lytol has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
<Technodrome> jhass: humans overcomplicate things
futilegames has quit [Quit: futilegames]
<Technodrome> jhass: how long you been doing ruby?
<jhass> mh, a good 3 years I think, though not paid
stef204 has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
toretore has joined #ruby-lang
<Technodrome> jhass: you don’t do it for work?
<Technodrome> interesting
<jhass> student ;)
<Technodrome> i’ve used ruby before many times, but i usually am just doing rails, whre honestly, you dont even need to know many in and outs of things
<Technodrome> a few years ago i did learn it pretty well but forgot alot of it because i didn’t use it for so long
rippa has joined #ruby-lang
<Technodrome> but since my hobbyist language is smalltalk, i will be “ok” i tink
<Technodrome> think*
RickHull has joined #ruby-lang
Iskarlar has quit [Read error: Connection reset by peer]
Iskarlar has joined #ruby-lang
caseypatrickdris has quit [Ping timeout: 276 seconds]
<Technodrome> i definitely prefer the beauty of it over Python , but i like python too
riotjones has joined #ruby-lang
riotjones has quit [Ping timeout: 245 seconds]
dzejrou has joined #ruby-lang
jds has joined #ruby-lang
shinnya has quit [Quit: ZNC - http://znc.in]
shinnya has joined #ruby-lang
fujimura has joined #ruby-lang
Iskarlar has quit [Remote host closed the connection]
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby-lang
Iskarlar has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
<RickHull> it > python
Technodrome has quit [Quit: Technodrome]
gwendall has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j0n3 has joined #ruby-lang
shinnya has quit [Quit: ZNC - http://znc.in]
shinnya has joined #ruby-lang
allomov has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
bruno- has joined #ruby-lang
skade has joined #ruby-lang
bruno- has quit [Ping timeout: 250 seconds]
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby-lang
djellemah has quit [Ping timeout: 276 seconds]
caseypatrickdris has joined #ruby-lang
caseypatrickdris has quit [Ping timeout: 245 seconds]
sarkyniin has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
j0n3 has quit [Quit: Leaving]
SylarRuby has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby-lang
yfeldbl__ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
elia has joined #ruby-lang
elia has quit [Client Quit]
yfeldblu_ has quit [Ping timeout: 245 seconds]
iamninja has quit [Read error: Connection reset by peer]
iamninja_ has joined #ruby-lang
arBmind has joined #ruby-lang
LMity has joined #ruby-lang
robbyoconnor has quit [Quit: Konversation terminated!]
leat has quit [Ping timeout: 264 seconds]
LMity has quit [Ping timeout: 252 seconds]
j0n3 has joined #ruby-lang
bruno- has joined #ruby-lang
chinmay_dd has joined #ruby-lang
ur5us has joined #ruby-lang
sankaber has joined #ruby-lang
loincloth has joined #ruby-lang
loincloth has quit [Read error: Connection reset by peer]
k3asd` has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leat has joined #ruby-lang
stef204 has quit [Ping timeout: 256 seconds]
aef_ has quit [Remote host closed the connection]
aef has joined #ruby-lang
elia has joined #ruby-lang
elia has quit [Client Quit]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stef204 has joined #ruby-lang
MXfive has joined #ruby-lang
red_menace has joined #ruby-lang
bruno- has quit [Ping timeout: 246 seconds]
skade has joined #ruby-lang
RickHull has left #ruby-lang [#ruby-lang]
chinmay_dd has quit [Ping timeout: 240 seconds]
MXfive has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
loincloth has joined #ruby-lang
loincloth has quit [Read error: Connection reset by peer]
jds has quit [Quit: Connection closed for inactivity]
elia has joined #ruby-lang
gwendall has joined #ruby-lang
allomov has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
MXfive has joined #ruby-lang
crdpink has quit [Excess Flood]
crdpink has joined #ruby-lang
jgpawletko has joined #ruby-lang
isale-eko has joined #ruby-lang
skade has quit [Ping timeout: 248 seconds]
skade has joined #ruby-lang
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
enebo has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
morfeen has joined #ruby-lang
SylarRuby has joined #ruby-lang
yfeldbl__ has quit [Ping timeout: 245 seconds]
postmodern has quit [Quit: Leaving]
elia has joined #ruby-lang
allomov has joined #ruby-lang
workmad3 has quit [Ping timeout: 250 seconds]
Forgetful_Lion has quit [Remote host closed the connection]
victortyau has joined #ruby-lang
chinmay_dd has joined #ruby-lang
allomov has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
loincloth has quit [Ping timeout: 264 seconds]
morfeen has quit [Remote host closed the connection]
chinmay_dd has left #ruby-lang ["Leaving"]
jwaldrip has joined #ruby-lang
jwaldrip has quit [Ping timeout: 264 seconds]
b_hoffman has joined #ruby-lang
cornerma1 has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
caseypatrickdris has joined #ruby-lang
cornerman has quit [Ping timeout: 244 seconds]
cornerma1 is now known as cornerman
gwendall has joined #ruby-lang
k3asd` has quit [Quit: leaving]
k3asd` has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
k3asd` has quit [Quit: leaving]
b_hoffman has quit [Quit: b_hoffman]
allomov has joined #ruby-lang
isale-eko has quit [Ping timeout: 255 seconds]
sgambino has joined #ruby-lang
skade has joined #ruby-lang
alestuber has joined #ruby-lang
<alestuber> Hello, could someone tell me how to see the source code from the stdlib modules? I'm trying to learn more reading code but I was trying and am still unable to find how to do that :(
<jhass> alestuber: best is you get pry and pry-doc
havenwood has joined #ruby-lang
<jhass> then inside pry you just $ Something to get its source and ? Something.else to get its docs
houhoulis has joined #ruby-lang
<jhass> stdlib is largely in Ruby, so its code is somewhere on your system too, though before we figure out where that might be, you can also just look at it on github: https://github.com/ruby/ruby/tree/trunk/lib
skade has quit [Quit: Computer has gone to sleep.]
<alestuber> jhass thank you very much :)
SylarRuby has quit [Remote host closed the connection]
<alestuber> I'll try that. If I fork this repository locally it should be fairly easy to see it too right?
<jhass> sure, pedantry: the git term is clone
seank_ has quit [Remote host closed the connection]
nedp has quit [Remote host closed the connection]
SylarRuby has joined #ruby-lang
<alestuber> if someone else has the same doubt I had, just use git clone git://github.com/ruby/ruby.git locally :)
isale-eko has joined #ruby-lang
|jemc| has joined #ruby-lang
loincloth has joined #ruby-lang
loincloth has quit [Ping timeout: 265 seconds]
workmad3 has joined #ruby-lang
shinnya has quit [Ping timeout: 245 seconds]
ArchRogem has joined #ruby-lang
enebo has quit [Quit: enebo]
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
banister has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
skade has joined #ruby-lang
alestuber has joined #ruby-lang
alestube_ has joined #ruby-lang
alestuber has quit [Read error: Connection reset by peer]
banister has quit [Read error: Connection reset by peer]
skade has quit [Quit: Computer has gone to sleep.]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
emptyflask has joined #ruby-lang
houhoulis has quit [Remote host closed the connection]
skade has joined #ruby-lang
byprdct has joined #ruby-lang
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sgambino has joined #ruby-lang
sankaber has joined #ruby-lang
|jemc| has quit [Ping timeout: 256 seconds]
riotjones has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
riotjones has quit [Ping timeout: 250 seconds]
fusillicode has joined #ruby-lang
fusillicode1 has quit [Ping timeout: 248 seconds]
emptyflask has left #ruby-lang [#ruby-lang]
fusillicode1 has joined #ruby-lang
fusillicode has quit [Read error: Connection reset by peer]
loincloth has joined #ruby-lang
fusillicode has joined #ruby-lang
stef204 has quit [Ping timeout: 250 seconds]
fusillicode has quit [Client Quit]
fusillicode has joined #ruby-lang
fusillicode1 has quit [Ping timeout: 245 seconds]
loincloth has quit [Ping timeout: 264 seconds]
fusillicode1 has joined #ruby-lang
jwaldrip has joined #ruby-lang
symm- has joined #ruby-lang
fusillicode has quit [Ping timeout: 264 seconds]
fusillicode1 has quit [Read error: Connection reset by peer]
fusillicode has joined #ruby-lang
trajing|Mobile has joined #ruby-lang
sarkyniin has quit [Ping timeout: 276 seconds]
alestube_ has quit [Remote host closed the connection]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
atomical has joined #ruby-lang
seank_ has joined #ruby-lang
sarkyniin has joined #ruby-lang
trajing|Mobile has quit [Read error: Connection reset by peer]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 248 seconds]
workmad3 has joined #ruby-lang
sarkyniin has quit [Client Quit]
banister has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 272 seconds]
centrx has joined #ruby-lang
sgambino has joined #ruby-lang
djellemah has joined #ruby-lang
LMity has joined #ruby-lang
[H]unt3r has joined #ruby-lang
allomov has quit [Remote host closed the connection]
isale-eko has quit [Ping timeout: 240 seconds]
LMity has quit [Ping timeout: 255 seconds]
Guest25 has joined #ruby-lang
victortyau has quit [Quit: Leaving]
b_hoffman has joined #ruby-lang
centrx has quit [Quit: Shutting down, Please wait...]
skade has joined #ruby-lang
loincloth has joined #ruby-lang
Guest25 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
b_hoffman has quit [Quit: b_hoffman]
loincloth has quit [Ping timeout: 272 seconds]
tsujp has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
b_hoffman has joined #ruby-lang
crdpink2 has joined #ruby-lang
crdpink has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby-lang
sankaber has joined #ruby-lang
charliesome has joined #ruby-lang
banister has quit [Ping timeout: 250 seconds]
leat has quit [Ping timeout: 248 seconds]
gwendall has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
crdpink has joined #ruby-lang
crdpink2 has quit [Ping timeout: 245 seconds]
ozialien has joined #ruby-lang
caseypatrickdris has quit [Remote host closed the connection]
leat has joined #ruby-lang
bruno- has joined #ruby-lang
crdpink has quit [Ping timeout: 245 seconds]
crdpink has joined #ruby-lang
crdpink has quit [Client Quit]
crdpink has joined #ruby-lang
lytol has joined #ruby-lang
<darix> jhass: ruby -e 'p $LOAD_PATH'
<darix> isnt that hard
<darix> ymmv
caseypatrickdris has joined #ruby-lang
shinnya has joined #ruby-lang
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 246 seconds]
hotpancakes has joined #ruby-lang
stef204 has joined #ruby-lang
alestuber has joined #ruby-lang
alestuber has quit [Ping timeout: 248 seconds]
stamina has joined #ruby-lang
djellemah has quit [Ping timeout: 248 seconds]
Miphix has quit [Quit: Leaving]
leat has quit [Ping timeout: 244 seconds]
leat has joined #ruby-lang
chinmay_dd has joined #ruby-lang
Technodrome has joined #ruby-lang
lytol has quit [Remote host closed the connection]
[H]unt3r has quit [Quit: Leaving]
chinmay_dd has quit [Quit: Leaving]
leat has quit [Ping timeout: 272 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stamina has quit [Ping timeout: 252 seconds]
wallerdev has joined #ruby-lang
leat has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
sarkyniin has joined #ruby-lang
Mark-6ma has joined #ruby-lang
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
centrx has joined #ruby-lang
tsujp has quit [Quit: tsujp is snoozing]
havenwood has quit [Remote host closed the connection]
hotpancakes has quit [Remote host closed the connection]
allomov has joined #ruby-lang
leat has quit [Ping timeout: 245 seconds]
mcclurmc_ has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
mcclurmc has quit [Ping timeout: 255 seconds]
symm- has joined #ruby-lang
leat has joined #ruby-lang
enebo has joined #ruby-lang
hotpancakes has joined #ruby-lang
wallerdev has joined #ruby-lang
nathanstitt has joined #ruby-lang
bruno- has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby-lang
symm-_ has joined #ruby-lang
leat has quit [Ping timeout: 246 seconds]
alestuber has joined #ruby-lang
symm- has quit [Ping timeout: 265 seconds]
loincloth has joined #ruby-lang
enebo has quit [Quit: enebo]
alestuber has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: zzz]
symm-_ has quit [Ping timeout: 264 seconds]
loincloth has quit [Ping timeout: 264 seconds]
symm- has joined #ruby-lang
sgambino has joined #ruby-lang
Mark-6ma has quit [Quit: -]
allomov has quit [Read error: Connection reset by peer]
gwendall has quit [Remote host closed the connection]
allomov has joined #ruby-lang
Contigi has quit [Quit: Leaving]
riotjones has joined #ruby-lang
MXfive has quit [Quit: Textual IRC Client: www.textualapp.com]
k3asd` has joined #ruby-lang
riotjones has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby-lang
Technodrome has quit [Quit: Technodrome]
charliesome has joined #ruby-lang
lytol has joined #ruby-lang
bruno- has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
bruno- has quit [Ping timeout: 246 seconds]
symm- has joined #ruby-lang
alestuber has joined #ruby-lang
djbkd has quit [Quit: Leaving...]
ur5us has quit [Remote host closed the connection]
alestuber has quit [Ping timeout: 244 seconds]
allomov has quit [Remote host closed the connection]
allomov has joined #ruby-lang
lytol has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
lytol has joined #ruby-lang
lytol has quit [Ping timeout: 240 seconds]
hotpancakes has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
robbyoconnor has joined #ruby-lang
nathanstitt has quit [Quit: Laters]
gwendall has quit [Ping timeout: 276 seconds]
matp has quit [Remote host closed the connection]
matp has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
nathanstitt has joined #ruby-lang
SylarRuby has quit []
allomov has quit [Remote host closed the connection]
skade has joined #ruby-lang
nathanstitt has quit [Ping timeout: 245 seconds]
leat has joined #ruby-lang
nathanstitt has joined #ruby-lang
alestuber has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
Contigi has joined #ruby-lang
alestuber has quit [Ping timeout: 276 seconds]
symm- has joined #ruby-lang
malconis has joined #ruby-lang
malconis has quit [Client Quit]
sgambino has quit [Quit: Textual IRC Client: www.textualapp.com]
wallerdev has quit [Quit: wallerdev]
lytol has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
symm- has joined #ruby-lang
hotpancakes has joined #ruby-lang
lytol has quit [Remote host closed the connection]
riotjones has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
symm- has joined #ruby-lang
riotjones has quit [Ping timeout: 265 seconds]
symm- has quit [Read error: Connection reset by peer]
symm- has joined #ruby-lang
unreal has quit [Ping timeout: 264 seconds]
Technodrome has joined #ruby-lang
seanzie has joined #ruby-lang
<seanzie> exit
havenwood has joined #ruby-lang
unreal has joined #ruby-lang
seanzie has quit [Client Quit]
seanzie has joined #ruby-lang
bruno- has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 248 seconds]
bruno- has quit [Ping timeout: 248 seconds]
yfeldblum has joined #ruby-lang
robbyoconnor has joined #ruby-lang
sankaber has joined #ruby-lang
dzejrou has quit [Ping timeout: 272 seconds]
<Technodrome> calling the metod new and self.new in a method body is the same thing right?
workmad3 has quit [Ping timeout: 276 seconds]
alestuber has joined #ruby-lang
<havenwood> Technodrome: the latter wouldn't work if the method you're calling is private but the former would
robbyoconnor has quit [Remote host closed the connection]
<Technodrome> new is a class method right?
<Technodrome> when you do , Product.new its calling a class not an instance method?
<Technodrome> or is it some special instance method?
<havenwood> Technodrome: a public class method
<Technodrome> yeah, thats what i figured
alestuber has quit [Ping timeout: 264 seconds]
<Technodrome> havenwood: so def self.somemethod always defines a class method right?
<havenwood> Technodrome: if self is a class
<Technodrome> what about if its top level?
<havenwood> Technodrome: main is an interesting beast: https://banisterfiend.wordpress.com/2010/11/23/what-is-the-ruby-top-level/
<Technodrome> I see havenwood
<Technodrome> i’m just a scheme and smalltalk who guys python and ruby sometimes
<havenwood> Technodrome: but yeah, a public class method
<Technodrome> and i’m getting more serious with ruby for rails dev
<havenwood> Technodrome: nice
<Technodrome> so I can apply many of the concepts, but sometimes i get a “duh” moment
elia has quit [Quit: (IRC Client: textualapp.com)]
<havenwood> Technodrome: There's also #ruby for Ruby chat and #rubyonrails for anything rails-related.
<Technodrome> what is this chat for?
<havenwood> Also Ruby.
<Technodrome> ah, yeah i remmber years ago, ruby-lang was the main ruby channel
<Technodrome> oh wow 882 people in that one
<Technodrome> who knew
elia has joined #ruby-lang
<darix> Technodrome: ruby-lang.org points here if i recall correctly
Forgetful_Lion has joined #ruby-lang
robbyoconnor has joined #ruby-lang
r0bby_ has joined #ruby-lang
red_menace has left #ruby-lang ["leaving..."]
ur5us has quit [Remote host closed the connection]
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 256 seconds]
robbyoconnor has quit [Ping timeout: 252 seconds]
gwendall has joined #ruby-lang
j4cknewt has joined #ruby-lang
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
LMity has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
LMity has quit [Ping timeout: 250 seconds]
|jemc| has joined #ruby-lang
alestuber has joined #ruby-lang
symm- has quit [Ping timeout: 255 seconds]
brianpWins has joined #ruby-lang
alestuber has quit [Ping timeout: 244 seconds]
loincloth has joined #ruby-lang
caseypatrickdris has quit [Remote host closed the connection]
loincloth has quit [Read error: Connection reset by peer]
symm- has joined #ruby-lang
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
k3asd` has quit [Ping timeout: 244 seconds]
nathanstitt has quit [Quit: I growing sleepy]
bruno- has joined #ruby-lang
thelastinuit has joined #ruby-lang
|jemc| has quit [Ping timeout: 248 seconds]
bruno- has quit [Ping timeout: 245 seconds]
seank_ has quit [Remote host closed the connection]
elia has quit [Excess Flood]
arBmind1 has quit [Quit: Leaving.]
r0bby_ has quit [Remote host closed the connection]
caseypatrickdris has joined #ruby-lang