baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
dhollinger has quit [Ping timeout: 260 seconds]
Bounga has quit [Ping timeout: 265 seconds]
skweek has joined #ruby
dhollinger has joined #ruby
qakar has joined #ruby
\13k_ has quit [Quit: leaving]
tristanp has joined #ruby
Ishido has quit [Remote host closed the connection]
pavshn has quit [Read error: Connection reset by peer]
eljimmy has joined #ruby
qakar has quit [Ping timeout: 255 seconds]
tvw has quit []
eljimmy has quit [Client Quit]
tristanp has quit [Remote host closed the connection]
xlegoman has joined #ruby
arescorpio has joined #ruby
cyclonis has joined #ruby
RedNifre_ has joined #ruby
qakar has joined #ruby
Sashimi has joined #ruby
RedNifre has quit [Ping timeout: 255 seconds]
pwnd_nsfw has quit [Read error: Connection reset by peer]
pwnd_nsfw has joined #ruby
Vile` has joined #ruby
Sashimi has quit [Client Quit]
Hobbyboy has quit [Ping timeout: 248 seconds]
sarkis has quit [Ping timeout: 244 seconds]
inra has quit [Quit: Leaving]
JeanCarl1Machado has quit [Quit: Lost terminal]
ARCADIVS has joined #ruby
roflmyeggo has joined #ruby
wox has joined #ruby
<wox> >> Integer("2")
<ruby[bot]> wox: # => 2 (https://eval.in/644101)
<wox> how does that work? does Integer have a class method that allows it?
LoneHerm_ has joined #ruby
JeanCarloMachado has joined #ruby
bocaneri has quit [Read error: Connection reset by peer]
<wox> I don't see any way to implement () on a class I define
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roflmyeggo has quit [Ping timeout: 264 seconds]
blackmes1 has joined #ruby
LoneHerm_ has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
gilfoyle has joined #ruby
<Papierkorb> wox: Methods and classes live in different namespaces. In practice it means that you can have a method and a class of same name on the same level ("in the same module")
gilfoyle is now known as Guest71999
<Papierkorb> >> Foo = Struct(:thing); def Foo(a); Foo.new(a); end; Foo("hello!")
nando293921 has joined #ruby
ebraga has quit [Ping timeout: 250 seconds]
<wox> Papierkorb: ok, so you mean Integer is also a method of the main object?
<Papierkorb> yes
<wox> i see.
pawnbox has quit [Ping timeout: 248 seconds]
sarkis has joined #ruby
skweek has quit [Ping timeout: 248 seconds]
Guest71999 has quit [Ping timeout: 244 seconds]
blackmes1 has quit [Ping timeout: 240 seconds]
<Papierkorb> It's a quite popular theme, e.g. URI or Pathname are using the same trick
CloCkWeRX has joined #ruby
JeanCarloMachado has quit [Quit: Lost terminal]
JeanCarloMachado has joined #ruby
JeanCarloMachado has quit [Client Quit]
tristanp has joined #ruby
sarkis has quit [Ping timeout: 265 seconds]
eizua has joined #ruby
millerti has joined #ruby
hutch34 has joined #ruby
MoonPlatypus has joined #ruby
Suntzu has quit [Quit: changing servers]
JeanCarloMachado has joined #ruby
Suntzu has joined #ruby
JeanCarl1Machado has joined #ruby
nankyokusei has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
NetSage has joined #ruby
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moneylotion has quit [Ping timeout: 260 seconds]
gizmore has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 248 seconds]
insanedreamer has joined #ruby
Rufus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
moneylotion has joined #ruby
moneylotion has quit [Excess Flood]
JeanCarloMachado has quit [Quit: Lost terminal]
moneylotion has joined #ruby
moneylotion has quit [Excess Flood]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
moneylotion has joined #ruby
moneylotion has quit [Excess Flood]
duncannz has joined #ruby
Pupeno has quit [Remote host closed the connection]
moneylotion has joined #ruby
moneylotion has quit [Excess Flood]
moneylotion has joined #ruby
moneylotion has quit [Excess Flood]
moneylotion has joined #ruby
moneylotion has quit [Excess Flood]
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
tristanp has quit [Remote host closed the connection]
Rickmasta has joined #ruby
johnmccabe has joined #ruby
newbie1 has quit [Ping timeout: 265 seconds]
pawnbox has joined #ruby
tristanp has joined #ruby
JeanCarl1Machado has quit [Quit: Lost terminal]
JeanCarloMachado has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
postmodern has quit [Ping timeout: 255 seconds]
nadir has quit [Ping timeout: 250 seconds]
nadir has joined #ruby
pawnbox has quit [Ping timeout: 265 seconds]
maletor1 has joined #ruby
threh has joined #ruby
maletor1 has quit [Ping timeout: 244 seconds]
jtzero has joined #ruby
historypeats has quit [Quit: Connection closed for inactivity]
kanobt61 has quit [Read error: Connection reset by peer]
postmodern has joined #ruby
tdy has quit [Ping timeout: 260 seconds]
Hobbyboy has joined #ruby
kanobt61 has joined #ruby
johnmccabe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHermit has joined #ruby
tristanp has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 244 seconds]
ta_ has joined #ruby
toretore has quit [Ping timeout: 250 seconds]
skweek has joined #ruby
LoneHermit has quit [Ping timeout: 260 seconds]
blackmes1 has joined #ruby
BackEndCoder has quit [Excess Flood]
sylario has quit [Quit: Connection closed for inactivity]
BackEndCoder has joined #ruby
p0p0pr37_ has joined #ruby
blackmes1 has quit [Ping timeout: 244 seconds]
kanobt61 has quit []
insanedreamer has quit [Ping timeout: 272 seconds]
bmurt has joined #ruby
Hyuk has joined #ruby
p0p0pr37 has quit [Ping timeout: 265 seconds]
p0p0pr37_ is now known as p0p0pr37
threh has quit [Quit: 'Til next time]
tristanp has joined #ruby
Vingador has joined #ruby
daffy_duck_2 has joined #ruby
tristanp has quit [Remote host closed the connection]
Bounga has joined #ruby
olistik has joined #ruby
skweek has quit [Ping timeout: 255 seconds]
daffy_duck_3 has quit [Ping timeout: 265 seconds]
optiz0r has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
skweek has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Bounga has quit [Ping timeout: 250 seconds]
tristanp has quit [Remote host closed the connection]
Rodya_ has joined #ruby
olistik has quit [Ping timeout: 248 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
Rodya_ has quit [Ping timeout: 255 seconds]
wox has quit [Ping timeout: 244 seconds]
GodFather has quit [Ping timeout: 272 seconds]
j0n3 has quit [Quit: Leaving]
pawnbox has joined #ruby
kspencer has quit [Changing host]
kspencer has joined #ruby
pawnbox has quit [Ping timeout: 265 seconds]
ItSANgo has joined #ruby
hutch34 has joined #ruby
SteenJobs has joined #ruby
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
qakar has quit [Remote host closed the connection]
kspencer has quit [Changing host]
kspencer has joined #ruby
kspencer has quit [Changing host]
kspencer has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
qakar has joined #ruby
kspencer has quit [Changing host]
kspencer has joined #ruby
qakar has quit [Ping timeout: 240 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
redpants has joined #ruby
maletor1 has joined #ruby
gilfoyle has joined #ruby
qakar has joined #ruby
gilfoyle is now known as Guest33266
maletor1 has quit [Ping timeout: 265 seconds]
pwnd_nsfw has quit [Read error: Connection reset by peer]
pwnd_nsfw has joined #ruby
Guest33266 has quit [Ping timeout: 240 seconds]
kspencer is now known as No_One
qakar has quit [Ping timeout: 255 seconds]
hotpanca_ has quit [Remote host closed the connection]
qakar has joined #ruby
Mon_Ouie has quit [Ping timeout: 265 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has quit [Quit: WeeChat 1.5]
qakar has quit [Ping timeout: 255 seconds]
<hays> apeiros: yeah the last comment saying tostop using it essentially
blackmes1 has joined #ruby
djbkd has joined #ruby
blackmes1 has quit [Ping timeout: 276 seconds]
skweek has quit [Ping timeout: 250 seconds]
ponga has joined #ruby
[k- has joined #ruby
Mon_Ouie has joined #ruby
NetSage has quit [Quit: Leaving]
redpants has quit [Quit: leaving]
nankyokusei has joined #ruby
Rodya_ has joined #ruby
braincrash has quit [Quit: bye bye]
nankyokusei has quit [Ping timeout: 248 seconds]
symm- has quit [Ping timeout: 244 seconds]
symm-_ has joined #ruby
Rodya_ has quit [Ping timeout: 248 seconds]
optiz0r has joined #ruby
ArielMT has joined #ruby
roflmyeggo has joined #ruby
<ArielMT> hi. how do i install a tk binding for ruby 2.2 on freebsd? i have tcl 8.5 and tk 8.5 installed, but `gem install tk` fails to find them when building native extensions.
hutch34 has joined #ruby
MoonPlatypus is now known as Madplatypus
braincras has joined #ruby
<jazzonmym11nd> ArielMT: tk is in the stdlib
pawnbox has joined #ruby
<ArielMT> jazzonmym11nd: so "require 'tk'" in a ruby file shouldn't throw an exception for not being able to find it? because it does.
<jazzonmym11nd> it depends if you satisfy the deps at compile time or not
roflmyeggo has quit [Ping timeout: 240 seconds]
k3rn31 has joined #ruby
qakar has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
xlegoman has quit [Quit: Leaving]
<ArielMT> at compile time for which?
pawnbox has quit [Ping timeout: 265 seconds]
bmurt has joined #ruby
ropeney has joined #ruby
roflmyeggo has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<jazzonmym11nd> ArielMT: for ruby.
xlegoman has joined #ruby
maletor1 has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
sonikspin has quit [Ping timeout: 250 seconds]
xlegoman has quit [Read error: Connection reset by peer]
maletor1 has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmes1 has joined #ruby
dhk has joined #ruby
sarkis has joined #ruby
Vingador has quit [Ping timeout: 255 seconds]
blackmes1 has quit [Ping timeout: 265 seconds]
sarkis has quit [Ping timeout: 265 seconds]
gix has quit [Ping timeout: 265 seconds]
symm-_ has quit [Ping timeout: 240 seconds]
qakar has quit [Remote host closed the connection]
gix has joined #ruby
pawnbox has joined #ruby
Bounga has joined #ruby
jorrin has joined #ruby
qakar has joined #ruby
olistik has joined #ruby
hammond has quit [Ping timeout: 244 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
Bounga has quit [Ping timeout: 255 seconds]
jorrin has quit [Client Quit]
nfsnobody has quit [Changing host]
nfsnobody has joined #ruby
dhk has quit [Quit: Leaving]
qakar has quit [Ping timeout: 264 seconds]
olistik has quit [Ping timeout: 248 seconds]
Rodya_ has joined #ruby
toretore has joined #ruby
Rodya_ has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
toretore has quit [Ping timeout: 265 seconds]
hammond has joined #ruby
hammond has joined #ruby
hammond has quit [Changing host]
hammond has joined #ruby
gizmore has joined #ruby
gizmore has quit [Changing host]
gizmore has joined #ruby
arescorpio has quit [Quit: Leaving.]
gilfoyle has joined #ruby
gilfoyle is now known as Guest58881
Vingador has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
Vingador has quit [Remote host closed the connection]
fk_007 has joined #ruby
Vingador has joined #ruby
sarkis has joined #ruby
Guest58881 has quit [Ping timeout: 255 seconds]
hutch34 has joined #ruby
dain has joined #ruby
roflmyeggo has quit [Ping timeout: 265 seconds]
roflmyeggo has joined #ruby
LoneHermit has joined #ruby
sarkis has quit [Ping timeout: 264 seconds]
maletor1 has joined #ruby
LoneHermit has quit [Ping timeout: 276 seconds]
blackgoat has joined #ruby
roflmyeggo has quit [Remote host closed the connection]
roflmyeggo has joined #ruby
maletor1 has quit [Ping timeout: 276 seconds]
jtzero has quit [Ping timeout: 272 seconds]
cyphase has quit [Ping timeout: 264 seconds]
NightMonkey has quit [Ping timeout: 265 seconds]
bigkevmcd has joined #ruby
pawnbox has joined #ruby
tmtwd has joined #ruby
cyphase has joined #ruby
synruby has joined #ruby
dain has quit [Remote host closed the connection]
bigkevmcd has quit [Client Quit]
roflmyeggo has quit [Ping timeout: 265 seconds]
pawnbox has quit [Ping timeout: 248 seconds]
jphase has joined #ruby
fullofcaffeine has joined #ruby
NightMonkey has joined #ruby
fk_007 has quit [Quit: Ex-Chat]
blackmes1 has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sonikspin has joined #ruby
pawnbox has joined #ruby
nando293921 has quit [Read error: Connection reset by peer]
axsuul has joined #ruby
nando293921 has joined #ruby
nankyokusei has joined #ruby
Rodya_ has joined #ruby
astrobunny has joined #ruby
solocshaw has quit [Ping timeout: 248 seconds]
Hyuk has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
fullofcaffeine has quit [Remote host closed the connection]
Rodya_ has quit [Ping timeout: 248 seconds]
wnd has quit [Read error: Connection reset by peer]
wnd has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Ping timeout: 248 seconds]
sud0x has joined #ruby
sud0x has left #ruby [#ruby]
toretore has joined #ruby
fullofcaffeine has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vuoto has joined #ruby
maletor1 has joined #ruby
fullofcaffeine has quit [Ping timeout: 265 seconds]
Rickmasta has joined #ruby
maletor1 has quit [Ping timeout: 264 seconds]
sarkis has joined #ruby
tdy has joined #ruby
sarkis has quit [Ping timeout: 244 seconds]
synruby has quit [Quit: Leaving]
[k-_ has joined #ruby
astrobunny has quit [Remote host closed the connection]
[k- has quit [Ping timeout: 276 seconds]
Vingador has quit [Remote host closed the connection]
blackmes1 has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
pwnd_nsfw` has joined #ruby
yeticry has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
yeticry has joined #ruby
[k-_ has quit [Remote host closed the connection]
pwnd_nsfw has quit [Ping timeout: 272 seconds]
immune has quit [Read error: Connection reset by peer]
blackmes1 has quit [Ping timeout: 276 seconds]
axsuul has joined #ruby
harfangk has joined #ruby
nando293921 has quit [Ping timeout: 276 seconds]
djbkd has joined #ruby
Bounga has joined #ruby
k3rn31 has joined #ruby
nando293921 has joined #ruby
olistik has joined #ruby
Bounga has quit [Ping timeout: 272 seconds]
nando293921 has quit [Read error: Connection reset by peer]
nando293921 has joined #ruby
tectonic has quit []
platzhir1 has joined #ruby
Rodya_ has joined #ruby
sarkis has joined #ruby
gilfoyle has joined #ruby
gilfoyle is now known as Guest45841
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
immune has joined #ruby
qakar has joined #ruby
axsuul has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
Guest45841 has quit [Ping timeout: 240 seconds]
sarkis has quit [Ping timeout: 255 seconds]
nando293921 has quit [Read error: Connection reset by peer]
nando293921 has joined #ruby
Vile` has quit [Ping timeout: 244 seconds]
qakar has quit [Ping timeout: 255 seconds]
Channel6 has quit [Quit: Leaving]
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wnd has quit [Ping timeout: 240 seconds]
wrkrcoop has joined #ruby
<wrkrcoop> anyone have suggestions on how to make this better: https://github.com/ellismarte/Caesar-Cipher/blob/master/CaesarCipher.rb
axsuul has joined #ruby
tmtwd has quit [Ping timeout: 272 seconds]
wnd has joined #ruby
BTRE has quit [Ping timeout: 248 seconds]
shinnya has joined #ruby
BTRE has joined #ruby
djbkd has quit [Remote host closed the connection]
hk238 has joined #ruby
jphase has quit [Remote host closed the connection]
yardenbar has joined #ruby
maletor1 has joined #ruby
antivert has quit [Quit: Lost terminal]
7YUAB3I2Z has joined #ruby
maletor1 has quit [Ping timeout: 244 seconds]
<elomatreb> wrkrcoop: You could at least replace the static hash literal with a dynamically generated one. Ranges work with strings! https://eval.in/644178
jphase has joined #ruby
sarkis has joined #ruby
jkeeney has joined #ruby
<wrkrcoop> elomatreb: ooo yeah that’s nice
platzhir1 has quit [Ping timeout: 265 seconds]
<jazzonmym11nd> wrkrcoop: why not make @legend and @alphabet constants? they're read-only?
<elomatreb> Another approach often used for ceasar ciphers is to use the characters ASCII values, and just shift them
<wrkrcoop> jazzonmym11nd: thats a good point … so make them only attr_reader?
<jazzonmym11nd> make them constants, and freeze them.
ta__ has joined #ruby
<elomatreb> CONSTANT = "value".freeze
<wrkrcoop> oh interesting
<wrkrcoop> thats cool!
<elomatreb> Keep in mind that constants in Ruby aren't strict. You can reassign them, the interpreter will just show a warning
ta_ has quit [Ping timeout: 265 seconds]
sarkis has quit [Ping timeout: 265 seconds]
[k- has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
agit0 has quit [Quit: zzzZZZ….]
tmtwd has joined #ruby
blackmes1 has joined #ruby
claudiuinberlin has joined #ruby
LoneHerm_ has joined #ruby
7YUAB3I2Z has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
jkeeney has quit [Ping timeout: 260 seconds]
blackmes1 has quit [Ping timeout: 255 seconds]
Ishido has joined #ruby
platzhir1 has joined #ruby
anisha has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
nankyokusei has joined #ruby
sarkis has joined #ruby
jphase has quit [Ping timeout: 248 seconds]
Rodya_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
sarkis has quit [Ping timeout: 250 seconds]
olistik has quit [Remote host closed the connection]
Rodya_ has quit [Ping timeout: 250 seconds]
DEac- has quit [Ping timeout: 250 seconds]
DEac- has joined #ruby
armyriad has quit [Ping timeout: 264 seconds]
armyriad has joined #ruby
armyriad has quit [Max SendQ exceeded]
armyriad has joined #ruby
armyriad has quit [Max SendQ exceeded]
sarkis has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
fre has joined #ruby
Dimik has joined #ruby
<fre> Are case statements faster than if statements
firstdayonthejob has joined #ruby
<baweaver_away> probably so little that it won't matter
baweaver_away is now known as baweaver
sarkis has quit [Ping timeout: 244 seconds]
agit0 has joined #ruby
_whitelogger has quit [K-Lined]
_whitelogger has joined #ruby
maletor1 has joined #ruby
jokester has joined #ruby
catbusters has joined #ruby
Guest67429 has quit [Ping timeout: 260 seconds]
johnDoe111 has quit [Ping timeout: 265 seconds]
hotpancakes has joined #ruby
maletor1 has quit [Ping timeout: 248 seconds]
JeanCarl1Machado has quit [Quit: leaving]
JeanCarl1Machado has joined #ruby
qakar has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
pwnd_nsfw` has joined #ruby
saneax-_-|AFK has joined #ruby
hotpancakes has quit [Ping timeout: 265 seconds]
pwnd_nsfw has quit [Ping timeout: 272 seconds]
m4rCsi_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
m4rCsi has quit [Read error: Connection reset by peer]
vicky22 has joined #ruby
boz_ has quit [Quit: Leaving]
<vicky22> hi I am new to ruby language and the community.Can anyone help me what resources to learn from(can be books,sites etc) that can make me reach an expert level coder in ruby.
johnDoe111 has joined #ruby
sdothum has joined #ruby
<havenwood> vicky22: Here are some links: https://ruby-community.com/pages/links
<havenwood> vicky22: And some more: https://www.ruby-lang.org/en/documentation/
<havenwood> [k-: Symbol#to_proc isn't slow! (At least not relative to an explicit block doing the same.)
<vicky22> thanks havenwood,but the documentation,how do you read documentation,the syntax in that is too convoluted
hk238 has quit [Ping timeout: 255 seconds]
the_drow has joined #ruby
<vicky22> thanks <havenwood>,but the documentation,how do you read documentation,the syntax in that is too convoluted
<havenwood> vicky22: Maybe start with "try ruby" to get familiar with the basic syntax: http://tryruby.org
anisha has quit [Quit: This computer has gone to sleep]
<vicky22> <havenwood> can you share how did you and your fellow expert mates did the journey(in terms of books,sites,projects,opens source) to master ruby
<vicky22> ?
Joufflu has quit [Read error: Connection reset by peer]
claudiuinberlin has quit [Remote host closed the connection]
gilfoyle_ has joined #ruby
Pumukel has joined #ruby
minimalism has quit [Quit: minimalism]
Pupeno has joined #ruby
lupine has quit [Ping timeout: 255 seconds]
johnDoe111 has quit [Ping timeout: 276 seconds]
Pupeno has quit [Changing host]
Pupeno has joined #ruby
lupine has joined #ruby
gilfoyle_ has quit [Ping timeout: 265 seconds]
arnonhongklay has joined #ruby
zipace has joined #ruby
slazer has joined #ruby
shinnya has quit [Ping timeout: 244 seconds]
<slazer> hi, I'm battling to comprehend what does this do and how --> books.values.each { |rate| ratings[rate] +=1 }
gigguuuuu has joined #ruby
<vicky22> can anyone tell me how today's experts in ruby have done since their start with this language in terms resources they have gone -books,sites,open source projects?
<slazer> so there are 3 values in books, 2 are the same
mistermocha has joined #ruby
<slazer> ..and this apparently creates ratings, which is a hash {:splendid=>2, :abysmal=>1}
<vicky22> can anyone tell me how today's experts in ruby have done since their start with this language in terms resources they have gone -books,sites,open source projects?
<slazer> the question is what exactly does '{ |rate| ratings[rate] +=1 }' do?
Xeago has quit [Ping timeout: 265 seconds]
mistermocha has quit [Ping timeout: 248 seconds]
Ishido has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
<slazer> so I reckon, the '|rate|' part EXTRACTS a value from books.values and 'raings[rate]+1' then increases its count in ratings, is that correct?
Xeago has joined #ruby
stamina has quit [Ping timeout: 276 seconds]
qakar has quit []
pwnd_nsfw has joined #ruby
a7d7p has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
gigguuuuu has quit []
gigguuuuu has joined #ruby
gigguuuuu has quit [Client Quit]
<[k-> you can []+=?!
gigguuuuu has joined #ruby
<Mon_Ouie> '{ |rate| ratings[rate] += 1 }' is a block argument passed to the #each method
<Mon_Ouie> That block argument is called by #each once for every element of the collection, with one argument (the corresponding element)
maloik has quit [Remote host closed the connection]
Oclair_ has joined #ruby
maloik has joined #ruby
<Mon_Ouie> And the argument is accessible as rate from within the method (|…| is used to specify a block's parameter list)
<havenwood> vicky22: Read a few books like The Ruby Programming Language or The Well Grounded Rubyist. Then write a bunch of code (links above or general coding challenges might help) and read a bunch of code (ask here or look on the Githubs).
<Mon_Ouie> [k-: You can 'lhs <binop>= rhs' anything that you can 'lhs = rhs'
<[k-> but []= is a method!
claudiuinberlin has joined #ruby
<Mon_Ouie> Yes, and so is #[]
JeanCarloMachado has quit [Ping timeout: 255 seconds]
<Mon_Ouie> It just calls two different methods to get and set the value
JeanCarl1Machado has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
Oclair has quit [Ping timeout: 240 seconds]
gigguuuuu has quit [Client Quit]
roflmyeggo has joined #ruby
<slazer> Mon_Ouie, understood, thanks
slazer has quit [Quit: Leaving]
<[k-> ruby gets weirder in my mind day by day
Ishido has joined #ruby
LoneHerm_ has joined #ruby
<[k-> ruby just works, but there is a lot of magic going on
pawnbox has quit [Ping timeout: 248 seconds]
mtkd has quit [Ping timeout: 265 seconds]
chimmy has joined #ruby
mtkd has joined #ruby
maletor1 has joined #ruby
chimmy has quit [Client Quit]
fullofcaffeine has joined #ruby
quoboo has quit [Read error: Connection reset by peer]
DoubleMalt has joined #ruby
djbkd has quit []
CamonZ has joined #ruby
hutch34 has joined #ruby
maletor1 has quit [Ping timeout: 264 seconds]
roflmyeggo has quit [Ping timeout: 264 seconds]
<devil_tux> why doesn't base on .to_s(x) works in ruby 2.0.0?
quoboo has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
brendan- has joined #ruby
hutch34 has quit [Ping timeout: 276 seconds]
LoneHe___ has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
<havenwood> devil_tux: Show an example of what you mean?
LoneHerm_ has quit [Ping timeout: 244 seconds]
<devil_tux> havenwood: I figured it out. For some reason .to_s(16) [to convert to hex] only works if it's '77'.ord.to_s(16) and not '77'.to_s(16)
<havenwood> devil_tux: 77.to_s(16)
<havenwood> >> '77'.ord
<ruby[bot]> havenwood: # => 55 (https://eval.in/644270)
<havenwood> >> '7'.ord
<ruby[bot]> havenwood: # => 55 (https://eval.in/644271)
<havenwood> devil_tux: ^
symm- has joined #ruby
<Mon_Ouie> '77' is already a string, that's why to_s doesn't expect a radix parameter
<havenwood> devil_tux: '77'.to_i.to_s(16)
fullofcaffeine has quit [Ping timeout: 244 seconds]
pwnd_nsfw has quit [Read error: Connection reset by peer]
roflmyeggo has joined #ruby
olistik has quit [Remote host closed the connection]
hutch34 has joined #ruby
JeanCarloMachado has joined #ruby
JeanCarl1Machado has joined #ruby
edwinvdgraaf has joined #ruby
pwnd_nsfw has joined #ruby
axsuul has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
hutch34 has quit [Ping timeout: 255 seconds]
eljimmy has joined #ruby
araujo__ has quit [Read error: Connection reset by peer]
araujo__ has joined #ruby
stamina has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sarkis has joined #ruby
mistermocha has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has joined #ruby
mistermocha has quit [Ping timeout: 244 seconds]
sarkis has quit [Ping timeout: 248 seconds]
blackwind_123 has quit [Read error: Connection reset by peer]
tmtwd has joined #ruby
yardenbar has quit [Ping timeout: 264 seconds]
pavshn has joined #ruby
LoneHe___ has quit [Remote host closed the connection]
miqlas-H has joined #ruby
sarkis has joined #ruby
cdg has joined #ruby
blackwind_123 has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
sarkis has quit [Ping timeout: 272 seconds]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
ropeney has quit [Ping timeout: 244 seconds]
blackmes1 has joined #ruby
JeanCarl1Machado has quit [Ping timeout: 255 seconds]
JeanCarloMachado has quit [Ping timeout: 276 seconds]
sarkis has joined #ruby
ctp has joined #ruby
sarbs has joined #ruby
jphase has joined #ruby
a7d7p has quit [Quit: a7d7p]
jphase has quit [Changing host]
jphase has joined #ruby
madsa has quit [Quit: No Ping reply in 180 seconds.]
maletor1 has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
biberu has quit [Ping timeout: 248 seconds]
madsa has joined #ruby
jhack0 has joined #ruby
jhack has quit [Ping timeout: 244 seconds]
maletor1 has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
bsrd has joined #ruby
edwinvdgraaf has joined #ruby
Xiti has quit [Quit: Xiti]
alexherbo2 has quit [Ping timeout: 244 seconds]
roflmyeggo has quit [Ping timeout: 265 seconds]
vicky22 has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
hutch34 has joined #ruby
grh has quit [Ping timeout: 265 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
bsrd has quit [Quit: WeeChat 1.5]
daffy_duck_2 is now known as ya_ebu_sobak
olistik has joined #ruby
m3_del has joined #ruby
hutch34 has quit [Ping timeout: 248 seconds]
symm- has quit [Quit: Leaving...]
olistik_ has joined #ruby
dviola has joined #ruby
<devil_tux> lets say I have =>[186, 36, 0F, 0, 0, 0, 0, 0]
<devil_tux> how can I remove zeros but have left 186, 36, 0F
<devil_tux> so 0F is not removed even if it has 0 in it
Xiti has joined #ruby
tmtwd has quit [Ping timeout: 240 seconds]
antgel has quit [Ping timeout: 244 seconds]
olistik has quit [Read error: Connection reset by peer]
GinoManWrx has joined #ruby
netwoodle has joined #ruby
<devil_tux> anyone?
bjh13` has joined #ruby
<Mon_Ouie> ary.delete(0) (which modifies ary in place)
bjh13` has quit [Remote host closed the connection]
GinoManWorks has quit [Read error: Connection reset by peer]
noodle has quit [Quit: /quit]
netwoodle is now known as noodle
evie_hammond has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
Pumukel has quit [Remote host closed the connection]
gilfoyle has joined #ruby
Rodya_ has joined #ruby
gilfoyle is now known as Guest84768
tmtwd has joined #ruby
edwinvdgraaf has joined #ruby
harfangk_ has quit [Quit: Textual IRC Client: www.textualapp.com]
SteenJobs has joined #ruby
nankyokusei has quit [Ping timeout: 248 seconds]
Rodya_ has quit [Ping timeout: 255 seconds]
mistermocha has joined #ruby
spidermario has joined #ruby
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
spider-mario has quit [Quit: spider-mario]
spidermario is now known as spider-mario
<devil_tux> Mon_Ouie: That deletes 0 too
mistermocha has quit [Ping timeout: 248 seconds]
tectonic has joined #ruby
skweek has joined #ruby
hutch34 has joined #ruby
<Mon_Ouie> Yes, and you asked about deleting 0.
a7d7p has joined #ruby
<toretore> >> [186, 36, 0F, 0, 0, 0, 0, 0]
<ruby[bot]> toretore: # => /tmp/execpad-a99d67f8e9d3/source-a99d67f8e9d3:2: syntax error, unexpected tCONSTANT, expecting ']' ...check link for more (https://eval.in/644274)
Pumukel has joined #ruby
<toretore> first, provide real data
edwinvdgraaf has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
eljimbo has joined #ruby
count has quit [*.net *.split]
staticfox has quit [*.net *.split]
herbmillerjr has quit [*.net *.split]
Antiarc has quit [*.net *.split]
existensil has quit [*.net *.split]
yokel has quit [*.net *.split]
lightstalker has quit [*.net *.split]
Tony-St4rk has quit [*.net *.split]
Guest68452 has quit [*.net *.split]
iNs has quit [*.net *.split]
Rasi has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
seitensei has quit [*.net *.split]
zzxc has quit [*.net *.split]
mhb has quit [*.net *.split]
Radar has quit [*.net *.split]
ReinH_ has quit [*.net *.split]
okdas_ has quit [*.net *.split]
vdl has quit [*.net *.split]
chrisarcand has quit [*.net *.split]
ekem has quit [*.net *.split]
m1dnight` has quit [*.net *.split]
IceDragon has quit [*.net *.split]
thomas has quit [*.net *.split]
z3uS has quit [*.net *.split]
scottschecter has quit [*.net *.split]
saltsa has quit [*.net *.split]
hfp has quit [*.net *.split]
ereslibre has quit [*.net *.split]
fedruantine has quit [*.net *.split]
aalmenar has quit [*.net *.split]
jswe has quit [*.net *.split]
sami has quit [*.net *.split]
coffeejunk has quit [*.net *.split]
lianj has quit [*.net *.split]
olblak has quit [*.net *.split]
evansbee has quit [*.net *.split]
irick has quit [*.net *.split]
rikai has quit [*.net *.split]
heinrich5991 has quit [*.net *.split]
bw_ has quit [*.net *.split]
tekk has quit [*.net *.split]
marahin has quit [*.net *.split]
ericwood has quit [*.net *.split]
freeze has quit [*.net *.split]
fumck has quit [*.net *.split]
kitallis has quit [*.net *.split]
bodie_ has quit [*.net *.split]
yasu has quit [*.net *.split]
low-profile has quit [*.net *.split]
jericon has quit [*.net *.split]
r4z3r has quit [*.net *.split]
zz_barkerd427 has quit [*.net *.split]
grh has joined #ruby
eljimmy has quit [Ping timeout: 248 seconds]
herbmillerjr has joined #ruby
staticfox has joined #ruby
count has joined #ruby
existensil has joined #ruby
Antiarc has joined #ruby
lightstalker has joined #ruby
yokel has joined #ruby
Guest68452 has joined #ruby
Tony-St4rk has joined #ruby
zzxc has joined #ruby
Radar has joined #ruby
chrisarcand has joined #ruby
ekem has joined #ruby
iNs has joined #ruby
vdl has joined #ruby
thomas has joined #ruby
m1dnight` has joined #ruby
mhb has joined #ruby
ReinH_ has joined #ruby
scottschecter has joined #ruby
Rasi has joined #ruby
saltsa has joined #ruby
ericwood has joined #ruby
coffeejunk has joined #ruby
heinrich5991 has joined #ruby
rikai has joined #ruby
freeze has joined #ruby
hfp has joined #ruby
zz_barkerd427 has joined #ruby
aalmenar has joined #ruby
yasu has joined #ruby
ereslibre has joined #ruby
mr_rich101 has joined #ruby
z3uS has joined #ruby
okdas_ has joined #ruby
IceDragon has joined #ruby
seitensei has joined #ruby
irick has joined #ruby
olblak has joined #ruby
bodie_ has joined #ruby
jericon has joined #ruby
r4z3r has joined #ruby
lianj has joined #ruby
tekk has joined #ruby
fedruantine has joined #ruby
jswe has joined #ruby
fumck has joined #ruby
bw_ has joined #ruby
evansbee has joined #ruby
kitallis has joined #ruby
marahin has joined #ruby
sami has joined #ruby
low-profile has joined #ruby
LoneHerm_ has quit [Ping timeout: 265 seconds]
yokel has quit [Max SendQ exceeded]
Guest68452 has quit [Max SendQ exceeded]
ghostlight has quit [Ping timeout: 244 seconds]
yokel has joined #ruby
Guest64580 has joined #ruby
blackmesa has joined #ruby
moei has quit [Ping timeout: 244 seconds]
moei has joined #ruby
JackMc has quit [Ping timeout: 250 seconds]
blackmes1 has quit [Ping timeout: 265 seconds]
nando294021 has joined #ruby
JackMc has joined #ruby
BlkDynmt has quit [Ping timeout: 255 seconds]
evie_hammond has joined #ruby
a7d7p has quit [Quit: a7d7p]
BlkDynmt has joined #ruby
optiz0r has quit [Remote host closed the connection]
craigp_ has quit [Ping timeout: 265 seconds]
conta has quit [Ping timeout: 265 seconds]
olistik_ has quit [Remote host closed the connection]
optiz0r has joined #ruby
cdg has quit [Ping timeout: 248 seconds]
jphase has quit [Remote host closed the connection]
kitikonti has joined #ruby
sarkis has quit [Ping timeout: 244 seconds]
jphase has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
optiz0r has quit [Ping timeout: 272 seconds]
braincras has quit [Ping timeout: 248 seconds]
braincrash has joined #ruby
[spoiler] has joined #ruby
edwinvdgraaf has joined #ruby
olistik has joined #ruby
optiz0r has joined #ruby
roflmyeggo has joined #ruby
jphase has quit [Ping timeout: 248 seconds]
agit0 has joined #ruby
sarkis has joined #ruby
<[spoiler]> Hi! :) Anyone interested in a pretty amazing job at a cool company in Germany? Disclaimer: I got a job offer, but sadly couldn't accept the offer due to some life circumstances.
hightower2 has joined #ruby
fullofcaffeine has joined #ruby
<[spoiler]> that sounds more dramatic than it really is, lol
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
tomphp has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
eizua has quit [Quit: Leaving]
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
GodFather has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
LoneHerm_ has joined #ruby
Pumukel has quit [Remote host closed the connection]
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
a7d7p has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
nanoz has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
ghostlight has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
m3_del has quit [Remote host closed the connection]
alexherbo2 has joined #ruby
m3_del has joined #ruby
craysiii has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
craysiii has quit [Client Quit]
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
pawnbox has quit [Remote host closed the connection]
m3_del has quit [Remote host closed the connection]
roflmyeggo has quit [Quit: Lost terminal]
m3_del has joined #ruby
pawnbox has joined #ruby
<apeiros> !fixon m3_del
<apeiros> !fixcon m3_del
m3_del was kicked from #ruby by ruby[bot] [repeated join/part detected]
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
ArielMT has quit [Ping timeout: 244 seconds]
[k- has quit [Read error: Connection reset by peer]
[k- has joined #ruby
ArielMT has joined #ruby
pavshn has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
fullofcaffeine has quit [Ping timeout: 250 seconds]
futilegames has joined #ruby
JeanCarloMachado has joined #ruby
blackmesa has quit [Ping timeout: 248 seconds]
SteenJobs has joined #ruby
eljimbo has quit [Quit: This computer has gone to sleep]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
f4cl3y has joined #ruby
futilegames has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
mistermocha has joined #ruby
pawnbox has joined #ruby
lxsameer has joined #ruby
JeanCarl1Machado has joined #ruby
dreamyspell has joined #ruby
matp has quit [Excess Flood]
BigGold has joined #ruby
Nahra` has joined #ruby
humd1ng3r has quit [Ping timeout: 244 seconds]
mistermocha has quit [Ping timeout: 248 seconds]
bsrd has joined #ruby
ArielMT has quit [Ping timeout: 276 seconds]
wlanboy has quit [Ping timeout: 244 seconds]
dunj3 has quit [Ping timeout: 244 seconds]
Nahra has quit [Remote host closed the connection]
Sashimi has joined #ruby
BigGold is now known as ArielMT
dunj3 has joined #ruby
humd1ng3r has joined #ruby
wlanboy has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
[spoiler] has quit [Ping timeout: 244 seconds]
RazorX has quit [Ping timeout: 244 seconds]
Guest52983 has quit [Ping timeout: 244 seconds]
nug has quit [Ping timeout: 244 seconds]
sysanthrope has quit [Read error: Connection reset by peer]
JeanCarloMachado has quit [Remote host closed the connection]
ihme-TTilus has quit [Ping timeout: 244 seconds]
zeroDivisible has quit [Ping timeout: 244 seconds]
swartzcr has quit [Ping timeout: 244 seconds]
TTilus has joined #ruby
f4cl3y has quit [Ping timeout: 265 seconds]
miah has quit [Ping timeout: 244 seconds]
EdwardIII has quit [Ping timeout: 244 seconds]
miah has joined #ruby
tomphp has joined #ruby
swartzcr has joined #ruby
JeanCarloMachado has joined #ruby
JeanCarloMachado has quit [Client Quit]
JeanCarl1Machado has quit [Quit: Lost terminal]
[spoiler] has joined #ruby
JeanCarloMachado has joined #ruby
RazorX has joined #ruby
gnarld_ has joined #ruby
zeroDivisible has joined #ruby
EdwardIII has joined #ruby
sysanthrope has joined #ruby
tmtwd has quit [Ping timeout: 265 seconds]
Rodya_ has joined #ruby
Affix has joined #ruby
Affix is now known as Guest27131
JeanCarloMachado has quit [Remote host closed the connection]
ghostlight has quit [Ping timeout: 248 seconds]
JeanCarloMachado has joined #ruby
JeanCarloMachado has quit [Remote host closed the connection]
ghostlight has joined #ruby
Rodya_ has quit [Ping timeout: 255 seconds]
kitikonti has quit [Quit: Textual IRC Client: www.textualapp.com]
nankyokusei has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
last_staff has joined #ruby
maletor1 has joined #ruby
LoneHerm_ has joined #ruby
zz_barkerd427 has quit [Ping timeout: 250 seconds]
maletor1 has quit [Ping timeout: 276 seconds]
zz_barkerd427 has joined #ruby
hlmjr has joined #ruby
kitallis has quit [Ping timeout: 250 seconds]
nankyokusei has quit [Quit: nankyokusei]
herbmillerjr has quit [Remote host closed the connection]
kitallis has joined #ruby
JeanCarloMachado has joined #ruby
JeanCarloMachado has quit [Client Quit]
SteenJobs has quit [Quit: SteenJobs]
jtzero1 has joined #ruby
futilegames has joined #ruby
futilegames has quit [Client Quit]
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
zz_barkerd427 has quit [Ping timeout: 250 seconds]
zz_barkerd427 has joined #ruby
bodie_ has quit [Ping timeout: 250 seconds]
firstdayonthejob has quit [Ping timeout: 244 seconds]
bsrd has quit [Ping timeout: 265 seconds]
bodie_ has joined #ruby
firstdayonthejob has joined #ruby
edwinvdg_ has joined #ruby
hotpancakes has joined #ruby
symm- has joined #ruby
edwinvdgraaf has quit [Ping timeout: 248 seconds]
hotpanca_ has joined #ruby
gnarld_ is now known as nug
hotpancakes has quit [Ping timeout: 250 seconds]
cyphase has quit [Ping timeout: 265 seconds]
craysiii has joined #ruby
anisha has joined #ruby
nankyokusei has joined #ruby
hlmjr has quit [Quit: Konversation terminated!]
newbie1 has joined #ruby
herbmillerjr has joined #ruby
sarkis has quit [Ping timeout: 265 seconds]
JeanCarloMachado has joined #ruby
JeanCarloMachado has quit [Client Quit]
shinnya has joined #ruby
JeanCarloMachado has joined #ruby
cyphase has joined #ruby
bsrd has joined #ruby
JeanCarloMachado has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 276 seconds]
JeanCarloMachado has joined #ruby
JeanCarl1Machado has joined #ruby
JeanCarl2Machado has joined #ruby
JeanCarl2Machado has quit [Remote host closed the connection]
JeanCarl2Machado has joined #ruby
JeanCarl2Machado has quit [Remote host closed the connection]
JeanCarl2Machado has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
zz_barkerd427 has quit [Ping timeout: 250 seconds]
zz_barkerd427 has joined #ruby
conta has joined #ruby
lightstalker has quit [Ping timeout: 250 seconds]
freeze has quit [Ping timeout: 250 seconds]
lightstalker has joined #ruby
mhb has quit [Ping timeout: 250 seconds]
mhb has joined #ruby
sdrew has joined #ruby
freeze has joined #ruby
djbkd has joined #ruby
JeanCarl3Machado has joined #ruby
JeanCarl3Machado has quit [Remote host closed the connection]
herbmillerjr has quit [Quit: Konversation terminated!]
<devil_tux> how can I efficiently delete all values from array which it's lenght is equal to 1
JeanCarl3Machado has joined #ruby
<devil_tux> there is a "hack"
<devil_tux> using
<devil_tux> len at each
<devil_tux> is there a more "Proper" way
dionysus69 has quit [Ping timeout: 265 seconds]
<matthewd> devil_tux: gist your current version?
Pupeno has quit [Remote host closed the connection]
JeanCarl4Machado has joined #ruby
<go|dfish> array.delete_if { }
<Mon_Ouie> Also Array#select and Array#reject to avoid modifying the array in place
<devil_tux> matthewd: something like: arr.each.map {|x| if x.len = 1 .. pop }
<devil_tux> go|dfish: let me check that out
<devil_tux> Mon_Ouie: Thanks
blackmesa has joined #ruby
elastix has joined #ruby
<matthewd> Okay, well I certainly can't offer an improvement on that, so I'll leave you to it
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
d5sx43 has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
fullofcaffeine has joined #ruby
bmurt has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
_djbkd has joined #ruby
JeanCarl5Machado has joined #ruby
LoneHerm_ has joined #ruby
ponga has quit [Quit: Connection closed for inactivity]
maloik34 has joined #ruby
claudiuinberlin has joined #ruby
JeanCarl1Machado has quit [Remote host closed the connection]
JeanCarloMachado has quit [Remote host closed the connection]
JeanCarl4Machado has quit [Remote host closed the connection]
JeanCarl2Machado has quit [Remote host closed the connection]
JeanCarl3Machado has quit [Remote host closed the connection]
JeanCarl5Machado has quit [Remote host closed the connection]
fullofcaffeine has quit [Remote host closed the connection]
nicoulaj has quit [Quit: nicoulaj]
hutch34 has quit [Ping timeout: 255 seconds]
nando294021 has quit [Ping timeout: 248 seconds]
LoneHerm_ has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
fullofcaffeine has quit [Read error: Connection reset by peer]
fullofca_ has joined #ruby
braincrash has quit [Ping timeout: 255 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nando293921 has joined #ruby
SteenJobs has joined #ruby
eljimmy has joined #ruby
maloik has quit [Ping timeout: 244 seconds]
shinnya has quit [Ping timeout: 265 seconds]
pawnbox has quit [Remote host closed the connection]
braincrash has joined #ruby
<negatifze> I thought I was crazy. I’ve spent the last several months bitching about all the abstractions at work, and having to reverse-engineer the app anytime a bug fix is needed. Finally, some reinforcement! http://thereignn.ghost.io/on-dry-and-the-cost-of-wrongful-abstractions/
symm- has quit [Quit: Leaving...]
p0p0pr37_ has joined #ruby
hightower2 has quit [Ping timeout: 255 seconds]
pawnbox has joined #ruby
symm- has joined #ruby
p0p0pr37 has quit [Ping timeout: 265 seconds]
p0p0pr37_ is now known as p0p0pr37
Tempesta_ has joined #ruby
last_staff has quit [Quit: last_staff]
symm- has quit [Client Quit]
Gasher has quit [Quit: Leaving]
Tempesta has quit [Ping timeout: 265 seconds]
Joufflu has joined #ruby
pawnbox has quit [Ping timeout: 255 seconds]
gizless has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
ta__ has quit [Ping timeout: 244 seconds]
ta_ has joined #ruby
Madplatypus has joined #ruby
blackmes1 has joined #ruby
minimalism has joined #ruby
fullofca_ has quit [Remote host closed the connection]
fullofca_ has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
elastix has quit [Quit: elastix]
pavshn has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pupeno has quit [Remote host closed the connection]
craysiii has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Guest43 has joined #ruby
Bellthoven has joined #ruby
Guest43 has quit [Changing host]
Guest43 has joined #ruby
Guest43 is now known as Rufus
blackmes1 has quit [Ping timeout: 272 seconds]
anisha has quit [Quit: This computer has gone to sleep]
Blaguvest has joined #ruby
jgnagy has quit []
blackmes1 has joined #ruby
vuoto has quit [Remote host closed the connection]
maletor1 has joined #ruby
bsrd has quit [Quit: WeeChat 1.5]
SteenJobs_ has joined #ruby
SteenJobs_ has quit [Read error: Connection reset by peer]
SteenJobs has quit [Read error: Connection reset by peer]
SteenJobs has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
maletor1 has quit [Ping timeout: 248 seconds]
chwbacca has joined #ruby
firstdayonthejob has quit [Ping timeout: 250 seconds]
Trynemjoel2 has quit [Ping timeout: 244 seconds]
DrCode has quit [Ping timeout: 244 seconds]
yaewa has joined #ruby
Cohedrin has joined #ruby
papercode has quit [Ping timeout: 244 seconds]
avelldiroll has quit [Ping timeout: 244 seconds]
papercode has joined #ruby
moei has quit [Ping timeout: 244 seconds]
trif has quit [Ping timeout: 244 seconds]
Platini has quit [Ping timeout: 244 seconds]
rumikk has quit [Ping timeout: 244 seconds]
trif has joined #ruby
firstdayonthejob has joined #ruby
firstdayonthejob has quit [Excess Flood]
rumikk has joined #ruby
avelldiroll has joined #ruby
Platini has joined #ruby
Trynemjoel has joined #ruby
firstdayonthejob has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
Cohedrin has quit [Max SendQ exceeded]
herbmillerjr has joined #ruby
Cohedrin has joined #ruby
olistik has quit [Remote host closed the connection]
Pupeno has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
LoneHerm_ has joined #ruby
Pumukel has joined #ruby
ur5us has joined #ruby
LoneHerm_ has quit [Ping timeout: 255 seconds]
Pumukel has quit [Ping timeout: 248 seconds]
Pumukel has joined #ruby
nando293921 has joined #ruby
<baweaver_away> devil_tux: the each isn't needed there.
d5sx43 has quit []
aryaching has quit [Ping timeout: 248 seconds]
firstdayonthejob has quit [Quit: WeeChat 1.5]
flying has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
_djbkd has quit [Remote host closed the connection]
DrCode has joined #ruby
Ishido has quit [Remote host closed the connection]
m4rCsi_ has quit [Quit: No Ping reply in 180 seconds.]
m4rCsi has joined #ruby
nankyokusei has joined #ruby
zacts has quit [Ping timeout: 265 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
Pupeno has quit [Remote host closed the connection]
mistermocha has joined #ruby
nanoz has quit [Read error: Connection reset by peer]
Bellthoven has quit []
firstdayonthejob has joined #ruby
Bellthoven has joined #ruby
aryaching has joined #ruby
jud has quit [Quit: Leaving]
claudiuinberlin has quit []
mistermocha has quit [Ping timeout: 248 seconds]
hotpancakes has joined #ruby
johnDoe111 has joined #ruby
sarlalian has quit [Ping timeout: 265 seconds]
al2o3-cr has joined #ruby
sarlalian has joined #ruby
johnDoe111 has quit [Ping timeout: 244 seconds]
Dudee has joined #ruby
shmulik has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shmulik> hi given string "ID:65 , Number:972553300009", i can't parse it as json for using as Hash
<Dudee> hi
futilegames has joined #ruby
<shmulik> this value i got from select_tag if it mind
grh has quit [Ping timeout: 240 seconds]
futilegames has quit [Client Quit]
_djbkd has joined #ruby
<shmulik> anybody can help ?
firstdayonthejob has quit [Ping timeout: 276 seconds]
BlkDynmt has quit [Ping timeout: 248 seconds]
pawnbox has joined #ruby
Dudee has left #ruby [#ruby]
matp has joined #ruby
craigp_ has joined #ruby
lucast has joined #ruby
firstdayonthejob has joined #ruby
jphase has joined #ruby
nando293921 has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 255 seconds]
LoneHerm_ has joined #ruby
BlkDynmt has joined #ruby
jphase has quit [Ping timeout: 255 seconds]
fullofca_ has quit [Quit: Leaving...]
LoneHerm_ has quit [Ping timeout: 240 seconds]
<hightower3> Hey, what are my options if I want to use RDoc and produce something that looks like 1 table row with 3 columns?
Bellthoven has quit []
Tempesta has joined #ruby
Tempesta has quit [Changing host]
Tempesta has joined #ruby
stamina has quit [Ping timeout: 265 seconds]
Tempesta_ has quit [Ping timeout: 265 seconds]
AzureStigma has joined #ruby
wingwalker has joined #ruby
Pumukel has quit [Remote host closed the connection]
Bellthoven has joined #ruby
AzureStigma has quit [Client Quit]
Pumukel has joined #ruby
Pumukel has quit [Ping timeout: 272 seconds]
craysiii has joined #ruby
d0nn1e has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
Guest84768 has quit [Ping timeout: 265 seconds]
NetSage has joined #ruby
d0nn1e has joined #ruby
elastix has joined #ruby
joelwallis has joined #ruby
cyphase has quit [Ping timeout: 250 seconds]
elastix has quit [Client Quit]
p0p0pr37 has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 265 seconds]
marr has joined #ruby
Pumukel has joined #ruby
flying has quit []
nando293921 has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
ta__ has joined #ruby
cyphase has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
olistik has joined #ruby
gilfoyle has joined #ruby
gilfoyle is now known as Guest63892
Rodya_ has joined #ruby
Bellthoven has quit []
Pumukel has quit [Ping timeout: 265 seconds]
zeroDi has quit [Ping timeout: 248 seconds]
wldcordeiro has joined #ruby
Pumukel has joined #ruby
kith_ has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
ixti has joined #ruby
ixti has quit [Client Quit]
Pumukel has joined #ruby
rafadc has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
gingray has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
rafadc has quit [Remote host closed the connection]
zeroDi has joined #ruby
duderonomy has quit [Ping timeout: 248 seconds]
maletor1 has joined #ruby
duderonomy has joined #ruby
[k- has quit [Quit: -a- IRC for Android 2.1.32]
Pumukel has quit [Ping timeout: 265 seconds]
firstdayonthejob has quit [Ping timeout: 248 seconds]
Pumukel has joined #ruby
LoneHermit has joined #ruby
loechel has joined #ruby
maletor1 has quit [Ping timeout: 264 seconds]
mrBen2k2k2k_ has joined #ruby
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
mrBen2k2k2k____ has joined #ruby
elifoster has quit [Ping timeout: 248 seconds]
joelwallis has quit [Ping timeout: 265 seconds]
LoneHermit has quit [Ping timeout: 244 seconds]
sarkis has joined #ruby
craysiii has quit [Quit: Textual IRC Client: www.textualapp.com]
loechel has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel_ has quit [Ping timeout: 265 seconds]
p0p0pr37 has joined #ruby
loechel has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
bihi has quit [Quit: Bye!]
bihi has joined #ruby
Bellthoven has joined #ruby
loechel has quit [Ping timeout: 265 seconds]
yaewa has quit [Quit: Leaving...]
moei has joined #ruby
c0mrad3 has quit [Quit: Connection closed for inactivity]
loechel has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
firstdayonthejob has joined #ruby
a7d7p has quit [Quit: a7d7p]
loechel has quit [Ping timeout: 265 seconds]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
Bellthoven has quit []
machinewar has joined #ruby
NetSage has quit [Remote host closed the connection]
NetSage has joined #ruby
nankyokusei has joined #ruby
wethu has joined #ruby
firstdayonthejob has quit [Ping timeout: 255 seconds]
ixti has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
firstdayonthejob has joined #ruby
duncannz has joined #ruby
atmosx has quit [Ping timeout: 265 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bihi has quit [Quit: Bye!]
mtkd has quit [Ping timeout: 240 seconds]
mistermocha has joined #ruby
firstdayonthejob has quit [Ping timeout: 265 seconds]
mtkd has joined #ruby
ICantCook has joined #ruby
nando293921 has quit [Ping timeout: 265 seconds]
ctp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has quit [Ping timeout: 248 seconds]
jhack0 has quit []
jhack has joined #ruby
ixti has quit [Quit: WeeChat 1.5]
ixti has joined #ruby
pawnbox has joined #ruby
tvsutton has quit [Ping timeout: 265 seconds]
twe4ked has quit [Ping timeout: 248 seconds]
tvsutton has joined #ruby
machinewar has quit [Remote host closed the connection]
\13k has quit [Ping timeout: 250 seconds]
twe4ked has joined #ruby
olistik has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 265 seconds]
\13k has joined #ruby
Pumukel has joined #ruby
chwbacca has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
wildleaf has quit [Ping timeout: 244 seconds]
jazzonmym11nd has joined #ruby
atmosx has joined #ruby
eljimmy has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 265 seconds]
eljimador has quit [Ping timeout: 260 seconds]
wildleaf has joined #ruby
Rufus has quit [Quit: Textual IRC Client: www.textualapp.com]
Pumukel has joined #ruby
eljimmy has joined #ruby
loechel has joined #ruby
Pumukel_ has joined #ruby
eljimador has joined #ruby
Pumukel has quit [Ping timeout: 248 seconds]
LoneHerm_ has joined #ruby
Pumukel has joined #ruby
johnmccabe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
loechel has quit [Ping timeout: 248 seconds]
Pumukel__ has joined #ruby
eljimmy has quit [Ping timeout: 260 seconds]
Pumukel_ has quit [Ping timeout: 248 seconds]
eljimmy has joined #ruby
LoneHerm_ has quit [Ping timeout: 240 seconds]
eljimmy has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
Immune has quit [Ping timeout: 272 seconds]
Pumukel__ has quit [Ping timeout: 265 seconds]
agit0 has quit [Quit: zzzZZZ….]
JoshS has joined #ruby
loechel has joined #ruby
Lildirt has joined #ruby
rsampaio_ has joined #ruby
Immune has joined #ruby
eljimmy has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
GodFather has quit [Ping timeout: 272 seconds]
loechel has quit [Ping timeout: 265 seconds]