mistym has quit [Remote host closed the connection]
sush24 has joined #ruby-lang
migbar has quit [Remote host closed the connection]
migbar has joined #ruby-lang
ledestin has joined #ruby-lang
chouhoulis has quit [Ping timeout: 246 seconds]
bruno- has joined #ruby-lang
migbar has quit [Ping timeout: 268 seconds]
Jon-Xie has joined #ruby-lang
bruno- has quit [Ping timeout: 245 seconds]
shinnya has quit [Ping timeout: 246 seconds]
Guest24131 has left #ruby-lang ["Leaving"]
SuMo_D has joined #ruby-lang
dabradley has joined #ruby-lang
ItSANgo__ has quit [Quit: Leaving...]
sush24 has quit [Quit: This computer has gone to sleep]
wallerdev has joined #ruby-lang
chouhoulis has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
j4cknewt_ has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
haraoka has joined #ruby-lang
j4cknewt has quit [Ping timeout: 252 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
omosoj has quit [Quit: Leaving]
dabradley has quit [Ping timeout: 245 seconds]
mistym has joined #ruby-lang
Steve_Jobs is now known as Steve_Jobes
karamazov has quit [Remote host closed the connection]
Steve_Jobes is now known as Steve_Jobs
karamazov has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 252 seconds]
symm- has quit [Ping timeout: 264 seconds]
dabradley has joined #ruby-lang
sleepee has quit [Ping timeout: 240 seconds]
karamazov has quit [Ping timeout: 255 seconds]
kgrz has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
jgpawletko has quit [Quit: jgpawletko]
torrieri has joined #ruby-lang
ItSANgo has joined #ruby-lang
migbar has joined #ruby-lang
lcdhoffman has joined #ruby-lang
migbar has quit [Ping timeout: 272 seconds]
spuk has quit [Ping timeout: 264 seconds]
spuk has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
SuMo_D has quit [Ping timeout: 252 seconds]
SuMo_D has joined #ruby-lang
thomasxie has joined #ruby-lang
yatish27 has joined #ruby-lang
benlovell has joined #ruby-lang
sMecKs has joined #ruby-lang
benlovell has quit [Ping timeout: 260 seconds]
chills42 has quit [Remote host closed the connection]
Ruhk has quit [Read error: Connection reset by peer]
Ruhk has joined #ruby-lang
vondruch has quit [Ping timeout: 255 seconds]
fusillicode1 has quit [Ping timeout: 252 seconds]
vondruch has joined #ruby-lang
_musl_ has quit [Ping timeout: 240 seconds]
fusillicode has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
RobertBirnie has joined #ruby-lang
gix has quit [Ping timeout: 245 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
emmesswhy has joined #ruby-lang
zz_anildigital is now known as anildigital
nathanstitt has quit [Quit: I growing sleepy]
_Kerber0s_ has quit [Remote host closed the connection]
gix has joined #ruby-lang
havenwood has joined #ruby-lang
aleatorik has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
molgrew has quit [Quit: leaving]
bruno- has joined #ruby-lang
ledestin has quit [Quit: ledestin]
sargas has joined #ruby-lang
bruno- has quit [Ping timeout: 246 seconds]
migbar has joined #ruby-lang
sargas has quit [Quit: bye]
sargas has joined #ruby-lang
_musl_ has joined #ruby-lang
migbar has quit [Ping timeout: 252 seconds]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kgrz has quit [Remote host closed the connection]
Jon-Xie has quit [Remote host closed the connection]
asdfg has joined #ruby-lang
<asdfg>
hello im trying to learn ruby
<asdfg>
and i have a question
<asdfg>
what does this snippet mean
<asdfg>
@up_conn = Faraday.new(:url => @endpoint, :proxy => proxy) do |faraday| faraday.request(:url_encoded) faraday.request(:multipart) faraday.adapter(Faraday.default_adapter) end
<asdfg>
i understand that an object is being instantiated in @up_conn = Faraday.new(:url => @endpoint, :proxy => proxy)
<asdfg>
but what is the rest?
<asdfg>
what is the do notation ? and whats this do |faraday|
<havenwood>
asdfg: do begins the block and |faraday| is the block argument
<asdfg>
havenwood: is it a type ?
<asdfg>
havenwood: where does it come from there is no reference of it in the code
<asdfg>
havenwood: is it instantiating the object and passing it as faraday as an argument to the block ?
yfeldblu_ has joined #ruby-lang
brnorion has quit []
<havenwood>
asdfg: yup, that sounds right to me
<|jemc|>
asdfg: that's the usual pattern for blocks passed to initializers, but it could be passing you anything
<asdfg>
havenwood: thanks, but why cant i be able to pass @up_conn directly this seems a bit ugly, no?
yfeldblum has quit [Ping timeout: 272 seconds]
<havenwood>
asdfg: another usage example for comparison would be `File.open('example.txt') do |file|; file.this; file.that; end` instead of `file = File.open('example.txt'); file.this; file.that; file.close`
<asdfg>
havenwood: but what if i have a class variable that i would like to pass to that block and it has the name faraday ?
<asdfg>
havenwood: so `File.open('example.txt') do |file, Var2|; file.this; file.that; end` instead of `file = File.open('example.txt'); file.this; file.that; file.close`
RobertBirnie has joined #ruby-lang
<asdfg>
havenwood: or i can only include the one variable from the object instatntiation for example |arg1, arg2| are not allowed?
skade has joined #ruby-lang
<havenwood>
>> def example; yield('Jack', 'Jill') end; example do |a, b|; puts "#{a} and #{b} went up the hill." end
<asdfg>
|jemc|: why cant the initialization only happen by passing the parameters to the class constructor why do we need a block to initialize ?
<|jemc|>
asdfg: it's just another tool in the toolbox for library API designers
<|jemc|>
that is to say, the reason you initialize it that way is because the designers of "Faraday" designed it that way
<|jemc|>
but they have given you other options as well
<|jemc|>
(I'm not familiar with that particular gem)
<|jemc|>
err.. *they may have given
<asdfg>
|jemc|: so can i think of this as editing class variables after initializing it by passing arguments to the constructor ?
<|jemc|>
asdfg: sure, that's commonly the purpose, but again, it could be used for many different kinds of operations
<|jemc|>
you just have to read the docs for the object you're using
<asdfg>
ok, thanks guys!
asdfg has quit [Quit: Page closed]
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby-lang
yatish27 has quit [Ping timeout: 276 seconds]
Lewix has quit [Read error: Connection reset by peer]
Lewix has joined #ruby-lang
yfeldblu_ has quit [Ping timeout: 240 seconds]
bruno- has joined #ruby-lang
saarinen has joined #ruby-lang
oleo__ has quit [Quit: Verlassend]
robbyoconnor has joined #ruby-lang
bruno- has quit [Ping timeout: 246 seconds]
nofxx_ has quit [Ping timeout: 240 seconds]
ta_ has quit [Remote host closed the connection]
Lewix has quit [Read error: Connection reset by peer]
Lewix has joined #ruby-lang
danijoo_ has joined #ruby-lang
Jon-Xie has joined #ruby-lang
danijoo has quit [Ping timeout: 250 seconds]
migbar has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
migbar has quit [Ping timeout: 268 seconds]
relix has joined #ruby-lang
brianpWins has joined #ruby-lang
benlovell has joined #ruby-lang
kgrz has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 272 seconds]
bsvineeth has joined #ruby-lang
bsvineeth has quit [Remote host closed the connection]
bsvineeth has joined #ruby-lang
kgrz has joined #ruby-lang
tectonic has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kgrz_ has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
kgrz has quit [Ping timeout: 268 seconds]
Kerber0s has joined #ruby-lang
anildigital is now known as zz_anildigital
havenwood has joined #ruby-lang
bsvineeth has quit [Remote host closed the connection]
bsvineeth has joined #ruby-lang
bsvineeth has quit [Remote host closed the connection]
bsvineeth has joined #ruby-lang
bsvineeth has quit [Remote host closed the connection]
bsvineeth has joined #ruby-lang
bsvineeth has quit [Ping timeout: 268 seconds]
intyl has quit [Quit: Leaving]
kimegede has joined #ruby-lang
AKASkip has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
CaptainJet has quit []
tectonic has quit []
apeiros has quit [Ping timeout: 264 seconds]
j4cknewt has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
[spoiler] has joined #ruby-lang
j4cknewt has joined #ruby-lang
j4cknewt has quit [Client Quit]
j4cknewt has joined #ruby-lang
Jon-Xie has quit [Remote host closed the connection]
|jemc| has quit [Quit: WeeChat 0.4.3]
xvq17 has joined #ruby-lang
rahul_j has joined #ruby-lang
|jemc| has joined #ruby-lang
migbar has joined #ruby-lang
kyb3r_ has joined #ruby-lang
chussenot has joined #ruby-lang
kiddorails has joined #ruby-lang
Jon-Xie has joined #ruby-lang
tbuehlmann has joined #ruby-lang
migbar has quit [Ping timeout: 255 seconds]
arBmind has joined #ruby-lang
_ht has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
kwd has joined #ruby-lang
danijoo_ has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
chussenot has quit [Quit: chussenot]
bsvineeth has joined #ruby-lang
bruno- has joined #ruby-lang
Kerber0s has quit []
postmodern has joined #ruby-lang
bruno- has quit [Ping timeout: 260 seconds]
yfeldblu_ has joined #ruby-lang
benlovell has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
yfeldblum has quit [Ping timeout: 272 seconds]
yfeldblu_ has quit [Ping timeout: 272 seconds]
Cyrano has joined #ruby-lang
cleopatra has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 264 seconds]
mistym has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 245 seconds]
SuMo_D has quit [Remote host closed the connection]
AKASkip has quit [Ping timeout: 245 seconds]
Iskarlar has joined #ruby-lang
sirene has joined #ruby-lang
amerine has quit [Ping timeout: 246 seconds]
apeiros has joined #ruby-lang
_ht has quit [Ping timeout: 250 seconds]
sMecKs has quit [Read error: Connection reset by peer]
migbar has joined #ruby-lang
_ht has joined #ruby-lang
thomasxie has quit [Remote host closed the connection]
migbar has quit [Ping timeout: 260 seconds]
Ruhk has quit []
benlovell has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
jhass|off is now known as jhass
AKASkip has joined #ruby-lang
ur5us has joined #ruby-lang
bruno- has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
qba73 has joined #ruby-lang
bruno- has quit [Ping timeout: 272 seconds]
ta has joined #ruby-lang
ta has quit [Client Quit]
adphillips has joined #ruby-lang
adphillips has quit [Client Quit]
Guest62656 has quit [Excess Flood]
kek has joined #ruby-lang
skarn has joined #ruby-lang
skarn is now known as Guest42178
charliesome has quit [Quit: zzz]
ta has joined #ruby-lang
Averna has quit [Quit: Leaving.]
chussenot has joined #ruby-lang
chussenot has quit [Client Quit]
chussenot has joined #ruby-lang
rahul_j_ has joined #ruby-lang
rahul_j has quit [Ping timeout: 272 seconds]
rahul_j_ is now known as rahul_j
skade has joined #ruby-lang
allomov has joined #ruby-lang
michael_mbp has quit [Excess Flood]
mikecmpbll has joined #ruby-lang
michael_mbp has joined #ruby-lang
chussenot has quit [Quit: chussenot]
allomov has quit [Remote host closed the connection]
elia has joined #ruby-lang
existensil has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
existensil has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
chussenot has joined #ruby-lang
migbar has joined #ruby-lang
stef_204 has joined #ruby-lang
marr has joined #ruby-lang
migbar has quit [Read error: Connection reset by peer]
migbar has joined #ruby-lang
migbar has quit [Ping timeout: 260 seconds]
Jon-Xie has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
amerine has joined #ruby-lang
skade has joined #ruby-lang
chussenot has quit [Quit: chussenot]
Jon-Xie has joined #ruby-lang
kwd has quit [Read error: Connection reset by peer]
kwd has joined #ruby-lang
Jon-Xie has quit [Ping timeout: 245 seconds]
kwd has quit [Read error: Connection reset by peer]
ur5us has quit [Remote host closed the connection]
kwd has joined #ruby-lang
kwd has quit [Read error: Connection reset by peer]
kwd_ has joined #ruby-lang
Squarepy has joined #ruby-lang
kwd_ has quit [Read error: Connection reset by peer]
kwd has joined #ruby-lang
charliesome has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
Jon-Xie has joined #ruby-lang
havenwood has joined #ruby-lang
Jon-Xie has quit [Ping timeout: 245 seconds]
havenwood has quit [Ping timeout: 264 seconds]
kgrz_ has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
jxie has quit [Quit: leaving]
arBmind has joined #ruby-lang
workmad3 has joined #ruby-lang
jxie has joined #ruby-lang
arBmind1 has joined #ruby-lang
migbar has joined #ruby-lang
bruno- has joined #ruby-lang
arBmind has quit [Ping timeout: 245 seconds]
fusillicode1 has joined #ruby-lang
fusillicode has quit [Ping timeout: 255 seconds]
migbar has quit [Ping timeout: 264 seconds]
skade has quit [Quit: Computer has gone to sleep.]
ur5us has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
Jon-Xie has joined #ruby-lang
AKASkip has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
AKASkip has joined #ruby-lang
fusillicode1 has quit [Ping timeout: 240 seconds]
melter has quit [Ping timeout: 272 seconds]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
postmodern has quit [Quit: Leaving]
kgrz_ has joined #ruby-lang
kgrz has quit [Ping timeout: 245 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joast has quit [Ping timeout: 255 seconds]
kwd has quit [Read error: Connection reset by peer]
ur5us has quit [Remote host closed the connection]
kwd has joined #ruby-lang
kgrz has joined #ruby-lang
user787 has joined #ruby-lang
stamina has joined #ruby-lang
user787 has quit [Client Quit]
kgrz_ has quit [Ping timeout: 252 seconds]
saarinen has quit [Quit: saarinen]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby-lang
diegoviola has joined #ruby-lang
Cyrano has quit [Quit: Cyrano]
kwd has quit [Read error: Connection reset by peer]
kwd_ has joined #ruby-lang
banister has joined #ruby-lang
nofxx_ has joined #ruby-lang
realDAB has joined #ruby-lang
realDAB has quit [Client Quit]
ur5us has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby-lang
mikecmpbll has quit [Read error: Connection reset by peer]
hdra has joined #ruby-lang
kwd has joined #ruby-lang
kwd_ has quit [Read error: Connection reset by peer]
kwd has quit [Client Quit]
Jon-Xie has quit [Remote host closed the connection]
allomov has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
migbar has joined #ruby-lang
Jon-Xie has joined #ruby-lang
toretore has joined #ruby-lang
melter has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
migbar has quit [Ping timeout: 264 seconds]
Jon-Xie has quit [Ping timeout: 268 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
riffraff has joined #ruby-lang
tdy has quit [Ping timeout: 240 seconds]
hellangel7 has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
Jon-Xie has joined #ruby-lang
yfeldblum has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has quit [Ping timeout: 245 seconds]
hellangel7 has quit [Read error: Connection reset by peer]
bsvineeth has quit [Remote host closed the connection]
tkuchiki_ has joined #ruby-lang
tkuchiki has quit [Ping timeout: 264 seconds]
tkuchiki_ has quit [Ping timeout: 264 seconds]
Forgetful_Lion has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
rahul_j has joined #ruby-lang
nofxx_ has quit [Ping timeout: 246 seconds]
tdy has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
bsvineeth has joined #ruby-lang
bsvineeth has quit [Remote host closed the connection]
bsvineeth has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j4cknewt has quit [Remote host closed the connection]
sleepee has joined #ruby-lang
migbar has joined #ruby-lang
migbar has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 252 seconds]
hdra has quit []
nfsnobody has quit [Ping timeout: 252 seconds]
nfsnobody has joined #ruby-lang
nfsnobody has quit [Changing host]
nfsnobody has joined #ruby-lang
chills42 has joined #ruby-lang
migbar has joined #ruby-lang
migbar_ has joined #ruby-lang
migbar has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
yfeldblum has joined #ruby-lang
dagda1 has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
ldnunes has joined #ruby-lang
jds has joined #ruby-lang
yfeldblum has quit [Ping timeout: 268 seconds]
Jon-Xie has quit [Remote host closed the connection]
karamazov has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
rahul_j has quit [Ping timeout: 276 seconds]
rahul_j has joined #ruby-lang
Sgeo has quit [Read error: Connection reset by peer]
rahul_j has quit [Ping timeout: 246 seconds]
benlovell has joined #ruby-lang
tkuchiki has joined #ruby-lang
ItSANgo has quit [Read error: Connection reset by peer]
ItSANgo has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
jgpawletko has joined #ruby-lang
yfeldblum has joined #ruby-lang
stamina has quit [Quit: WeeChat 0.4.3]
Jon-Xie has joined #ruby-lang
shortCircuit__ has joined #ruby-lang
<shortCircuit__>
is it possible to take a text, and then save it in a png file ?
shortCircuit__ has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140715214327]]
shortCircuit__ has joined #ruby-lang
<shortCircuit__>
is it possible to take a text, and then save it in a png file ?
<jhass>
shortCircuit__: Please do not crosspost without at least telling so. Experience shows that people don't bother to inform the other channels of provided solutions, therefore it is considered rude.
hachiya has quit [Quit: No Ping reply in 180 seconds.]
Jon-Xie has quit [Ping timeout: 246 seconds]
Forgetful_Lion has quit [Remote host closed the connection]
thomasxie has joined #ruby-lang
hachiya has joined #ruby-lang
<shortCircuit__>
no, actually i quit mistakenly ... i though the previous mssg was gone
<shortCircuit__>
o
<shortCircuit__>
i understand
<shortCircuit__>
ok my mistake
relix has joined #ruby-lang
<shortCircuit__>
but i like discussing things .. its that ppl just don't share with me, bcoz i am ignorant
loveablelobster has joined #ruby-lang
rahul_j has joined #ruby-lang
mkaesz has joined #ruby-lang
<DefV>
shortCircuit__: yes, it is
<DefV>
take a look at RMagick
sepp2k has joined #ruby-lang
<shortCircuit__>
ok
rahul_j has quit [Quit: rahul_j]
ruby-lang922 has joined #ruby-lang
spastorino has joined #ruby-lang
chills42 has quit [Quit: Leaving...]
rcvalle has joined #ruby-lang
shortCircuit__ has quit [Ping timeout: 276 seconds]
ruby-lang922 has quit [Ping timeout: 246 seconds]
relix_ has joined #ruby-lang
miqui has joined #ruby-lang
relix has quit [Ping timeout: 246 seconds]
jgpawletko_ has joined #ruby-lang
hellangel7 has joined #ruby-lang
loveablelobster has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
jgpawletko has quit [Ping timeout: 272 seconds]
jgpawletko_ is now known as jgpawletko
Jon-Xie has joined #ruby-lang
malconis has joined #ruby-lang
aleatorik has joined #ruby-lang
amystephen has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
kgrz has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
centrx has joined #ruby-lang
amerine_ has joined #ruby-lang
amerine_ has quit [Max SendQ exceeded]
amerine_ has joined #ruby-lang
relix_ has quit [Ping timeout: 252 seconds]
amerine has quit [Ping timeout: 272 seconds]
scampbell has joined #ruby-lang
relix has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oleo has joined #ruby-lang
workmad3 has quit [Ping timeout: 246 seconds]
chouhoulis has quit [Remote host closed the connection]
jxie has quit [Quit: leaving]
dagda1_ has joined #ruby-lang
haraoka has quit [Ping timeout: 272 seconds]
dagda1_ has quit [Read error: Connection reset by peer]
amerine has joined #ruby-lang
jxie has joined #ruby-lang
dagda1 has joined #ruby-lang
amerine_ has quit [Ping timeout: 260 seconds]
yfeldblu_ has joined #ruby-lang
torrieri has joined #ruby-lang
benlovell has joined #ruby-lang
molgrew has joined #ruby-lang
gjaldon has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 268 seconds]
yfeldblu_ has quit [Ping timeout: 240 seconds]
ta has quit [Remote host closed the connection]
skade has joined #ruby-lang
ItSANgo has quit [Quit: Leaving...]
Lewix has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
toretore has quit [Ping timeout: 272 seconds]
skade_ has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
molgrew_ has joined #ruby-lang
lcdhoffman has joined #ruby-lang
oleo has quit [Ping timeout: 245 seconds]
skade has joined #ruby-lang
oleo has joined #ruby-lang
momomomomo has joined #ruby-lang
molgrew has quit [Ping timeout: 245 seconds]
rahul_j has joined #ruby-lang
rahul_j has quit [Client Quit]
skade_ has quit [Ping timeout: 276 seconds]
skade_ has joined #ruby-lang
rahul_j has joined #ruby-lang
ooloo has quit [Read error: Connection reset by peer]
knu has quit [Read error: No route to host]
giga has joined #ruby-lang
rahul_j has left #ruby-lang [#ruby-lang]
giga is now known as Guest64107
skade has quit [Ping timeout: 252 seconds]
molgrew_ has quit [Quit: leaving]
kimegede has quit [Quit: Leaving...]
rahul_j has joined #ruby-lang
chouhoulis has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
toretore has joined #ruby-lang
j4cknewt has joined #ruby-lang
workmad3 has joined #ruby-lang
sush24 has joined #ruby-lang
klmlfl has joined #ruby-lang
nathanstitt has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
Squarepy has quit [Quit: Leaving]
klmlfl has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby-lang
joast has joined #ruby-lang
klmlfl has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby-lang
zz_anildigital is now known as anildigital
yfeldblum has joined #ruby-lang
rahul_j has left #ruby-lang [#ruby-lang]
ItSANgo has joined #ruby-lang
gjaldon has joined #ruby-lang
yfeldblum has quit [Ping timeout: 246 seconds]
klmlfl has quit [Remote host closed the connection]
franzip has joined #ruby-lang
klmlfl has joined #ruby-lang
luka_ has joined #ruby-lang
scampbell has quit [Quit: Leaving]
<luka_>
hi, I'm learning Ruby; are all these the same: "func(arg=sth)", "func arg=sth", "func(arg:sth)", "func arg:sth"?
<bougyman>
no
<workmad3>
luka_: first 2 are the same, last 2 are the same
<workmad3>
luka_: but they aren't all the same
<bougyman>
the first two are positional arguments, the last two are arguments with a keyword.
klmlfl has quit [Remote host closed the connection]
<luka_>
thanks! what's the difference? i'm trying to find bnf grammar but only an old one is available...
<luka_>
oh
klmlfl has joined #ruby-lang
<luka_>
what's the difference between positional and keyword arguments?