havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
<al2o3-cr> it's like flag wash
eckhardt has joined #ruby
<SeepingN> sound like an expensive german drink
<SeepingN> "mmm that tastes like ass, but ass from 30 years ago. that's good!"
lesce has joined #ruby
ecuanaso has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 268 seconds]
<al2o3-cr> can't fault german or polish beer
<SeepingN> many jokes await, but I resist
<al2o3-cr> zubr best polish beer going imo
<SeepingN> itz zubr gewd
<al2o3-cr> i
dionysus69 has joined #ruby
<al2o3-cr> SeepingN: put it this way, you'd be fuck'd
lesce has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
<SeepingN> we have a vveener
<al2o3-cr> who's we?
JBlazeCoder21 has joined #ruby
<SeepingN> heh
<SeepingN> maybe a good 40oz is what I need
<al2o3-cr> SeepingN: american?
<SeepingN> yeah. see the problem? lol
Cohedrin_ has quit [Read error: Connection reset by peer]
<al2o3-cr> 40 f'king imperial ounce
cagomez has quit [Remote host closed the connection]
<al2o3-cr> why still use this shit
JBlazeCo_ has joined #ruby
<al2o3-cr> only in a america
JBlazeCoder21 has quit [Ping timeout: 260 seconds]
<SeepingN> yes, quite embarrassing at this point
<SeepingN> it was embarrassing when I was growing up. now it's just pathetic
roshanavand has quit [Quit: roshanavand]
<al2o3-cr> a normal can over the pond is about 3000000ml
Cohedrin_ has joined #ruby
marxarelli is now known as marxarelli|afk
t-recx has joined #ruby
<al2o3-cr> oh. sorry. 654564oz
<al2o3-cr> SeepingN: joke
<al2o3-cr> big cunts everywhere
<al2o3-cr> pardon my french
JBlazeCo_ has quit [Ping timeout: 240 seconds]
<banisterfiend> SeepingN what does pry do that's confusingn for you?
umaaji has joined #ruby
olivi____ has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
grant has quit [Quit: Textual IRC Client: www.textualapp.com]
<SeepingN> that's quite a can. lol
<SeepingN> it doesn't do anything for me
<SeepingN> but I've now seen/read 3 times where a problem someone was having was due to pry, or pry and some library not working togegther
olivi____ has quit [Ping timeout: 246 seconds]
<SeepingN> or perhaps it was the/a logger
SeepingN has quit [Quit: The system is going down for reboot NOW!]
<banisterfiend> SeepingN it doesn't do anything? it can show you source code for methods/classes on demand, it makes complicated introspection/reflection actions trivial to perform, and so on. My guess is, it doesn't do anything for you because you haven't learned what it can do ;)
kkiero has quit [Quit: leaving]
<al2o3-cr> what a croc of shite
ResidentBiscuit has joined #ruby
<al2o3-cr> pry is the best thing sliced/buttered bread
<al2o3-cr> *since
bruno- has quit [Ping timeout: 240 seconds]
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
<al2o3-cr> >> Module.singleton_methods
<ruby[bot]> al2o3-cr: # => [:constants, :nesting] (https://eval.in/838085)
ResidentBiscuit has quit [Remote host closed the connection]
<al2o3-cr> :(
<al2o3-cr> used_modules too
<al2o3-cr> come on MR
ResidentBiscuit has joined #ruby
brent__ has quit [Ping timeout: 276 seconds]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 248 seconds]
brent__ has joined #ruby
code_zombie_ has joined #ruby
ResidentBiscuit has quit [Ping timeout: 255 seconds]
hutch34 has quit [Ping timeout: 276 seconds]
Technaton has quit [Ping timeout: 276 seconds]
Technaton has joined #ruby
enterprisey has joined #ruby
ta_ has joined #ruby
code_zombie has quit [Ping timeout: 276 seconds]
brent__ has quit [Ping timeout: 255 seconds]
duderonomy has quit [Ping timeout: 246 seconds]
TinkerTyper has quit [Ping timeout: 255 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
AxelAlex has joined #ruby
barx has joined #ruby
barx has quit [Client Quit]
<al2o3-cr> >> Module { nesting }
<ruby[bot]> al2o3-cr: # => undefined method `Module' for main:Object (NoMethodError) ...check link for more (https://eval.in/838086)
<al2o3-cr> >> Module.new { nesting }
<ruby[bot]> al2o3-cr: # => undefined local variable or method `nesting' for #<Module:0x40875b64> ...check link for more (https://eval.in/838087)
cagomez has quit [Ping timeout: 255 seconds]
<al2o3-cr> haha
nacsurte has quit [Ping timeout: 276 seconds]
ColeHub has quit [Quit: Snooze.]
olivi____ has joined #ruby
bronson has joined #ruby
<al2o3-cr> >> Module.new { self.class.nesting }
<ruby[bot]> al2o3-cr: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<al2o3-cr> wafj
<al2o3-cr> >> Module.new { self.class.nesting }
<ruby[bot]> al2o3-cr: # => #<Module:0x422f9b34> (https://eval.in/838090)
hutch34 has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
bonhoeffer has joined #ruby
bronson has joined #ruby
AX31_A13X has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
AxelAlex has quit [Read error: Connection reset by peer]
guacamol_ has quit [Ping timeout: 260 seconds]
bruno- has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
bonhoeffer has quit [Ping timeout: 248 seconds]
SteenJobs_ has quit [Quit: SteenJobs_]
jphase_ has joined #ruby
jhass has quit [Ping timeout: 276 seconds]
jhass has joined #ruby
jphase has quit [Ping timeout: 276 seconds]
gil_ has quit [Ping timeout: 276 seconds]
gil__ has joined #ruby
hutch34 has joined #ruby
bronson has quit [Remote host closed the connection]
SteenJobs_ has joined #ruby
cahoots has quit [Ping timeout: 248 seconds]
sarmiena_ has quit [Quit: sarmiena_]
Cohedrin_ has quit [Read error: Connection reset by peer]
Cohedrin_ has joined #ruby
jphase_ is now known as jphase
cam27 has joined #ruby
eljimbo has joined #ruby
herbmillerjr has joined #ruby
muzik has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
ta_ has quit [Ping timeout: 255 seconds]
Cohedrin_ has quit [Read error: Connection reset by peer]
brent__ has joined #ruby
Cohedrin_ has joined #ruby
duderonomy has joined #ruby
<al2o3-cr> i just tought something
brent__ has quit [Ping timeout: 240 seconds]
<al2o3-cr> dominoes is nearly shut
lxsameer has quit [Quit: WeeChat 1.7]
BSAlb has quit [Read error: Connection reset by peer]
hutch34 has quit [Ping timeout: 255 seconds]
Cohedrin_ has quit [Read error: Connection reset by peer]
thiru has quit [Ping timeout: 260 seconds]
gizmore|2 has joined #ruby
enterprisey has quit [Ping timeout: 240 seconds]
d^sh has quit [Ping timeout: 240 seconds]
TinkerTyper has joined #ruby
Cohedrin_ has joined #ruby
gizmore has quit [Ping timeout: 240 seconds]
d^sh has joined #ruby
enterprisey has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
agent_white has joined #ruby
jenrzzz has joined #ruby
sarmiena_ has joined #ruby
Cohedrin_ has quit [Read error: Connection reset by peer]
jameser has joined #ruby
gusrub has quit [Remote host closed the connection]
jameser has quit [Client Quit]
jameser has joined #ruby
Cohedrin_ has joined #ruby
barx has joined #ruby
MtnGoat has joined #ruby
MichaelBurge has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
umaaji has quit [Quit: Leaving...]
umaaji has joined #ruby
lesce has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MtnGoat has quit [Ping timeout: 246 seconds]
jameser has joined #ruby
lesce has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
<al2o3-cr> years ago you could pass instance variabes as block args :(
c1 has quit [Remote host closed the connection]
<al2o3-cr> foo { |@x, @y| }.. scope or someshit?
amclain has quit [Quit: Leaving]
<al2o3-cr> only scope inside the block
<al2o3-cr> 1.6 waas a very funny ting
<al2o3-cr> ruby ruby ruby
npgm has quit [Ping timeout: 276 seconds]
crayfishx has quit [Ping timeout: 276 seconds]
ghormoon has quit [Ping timeout: 276 seconds]
Cohedrin_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
npgm has joined #ruby
Mrgoose2 has quit []
Mrgoose2 has joined #ruby
foamz has quit [Ping timeout: 276 seconds]
ta_ has joined #ruby
ghormoon has joined #ruby
Evesy has quit [Ping timeout: 276 seconds]
sneep has quit [Ping timeout: 276 seconds]
crayfishx has joined #ruby
foamz has joined #ruby
t-recx has quit [Quit: t-recx]
sneep has joined #ruby
mim1k has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
Evesy has joined #ruby
TinkerTyper_ has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
olivi____ has quit [Remote host closed the connection]
olivi____ has joined #ruby
TinkerTyper has quit [Ping timeout: 276 seconds]
TinkerTyper has joined #ruby
olivi____ has quit [Ping timeout: 276 seconds]
TinkerTyper_ has quit [Ping timeout: 248 seconds]
wald0 has quit [Quit: Lost terminal]
tacoboy has quit [Remote host closed the connection]
guacamol_ has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
astrobunny has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
dviola has quit [Ping timeout: 240 seconds]
lesce has joined #ruby
ahrs has quit [Remote host closed the connection]
lesce has quit [Ping timeout: 240 seconds]
ahrs has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
KeyJoo has quit [Ping timeout: 255 seconds]
hutch34 has joined #ruby
HoierM has quit [Ping timeout: 248 seconds]
hutch34 has quit [Ping timeout: 255 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
sarmiena_ has quit [Quit: sarmiena_]
ecuanaso has joined #ruby
sarmiena_ has joined #ruby
wanhar has joined #ruby
hanmac has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
tfitts has joined #ruby
eljimbo has quit [Quit: This computer has gone to sleep]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eljimbo has joined #ruby
eljimbo has quit [Client Quit]
eljimbo has joined #ruby
eljimbo has quit [Client Quit]
eljimbo has joined #ruby
eljimbo has quit [Client Quit]
eljimbo has joined #ruby
gix has quit [Ping timeout: 276 seconds]
eljimbo has quit [Client Quit]
eljimbo has joined #ruby
eljimbo has quit [Client Quit]
jcao219 has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
gix has joined #ruby
hanmac has joined #ruby
guacamol_ has quit [Quit: Textual IRC Client: www.textualapp.com]
dviola has joined #ruby
McBride36 has left #ruby ["Leaving"]
jphase has quit [Remote host closed the connection]
_whitelogger has joined #ruby
guacamol_ has joined #ruby
guacamol_ has quit [Client Quit]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sleepee has quit [Quit: Leaving]
guacamol_ has joined #ruby
barx has quit [Quit: barx]
guacamol_ has quit [Client Quit]
guacamol_ has joined #ruby
jameser has joined #ruby
sarmiena_ has quit [Quit: sarmiena_]
kies has quit [Ping timeout: 240 seconds]
sarmiena_ has joined #ruby
ta_ has joined #ruby
sarmiena_ has quit [Client Quit]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Puffball has quit [Remote host closed the connection]
guacamol_ has quit [Quit: Textual IRC Client: www.textualapp.com]
jameser has joined #ruby
warrshrike has joined #ruby
Puffball has joined #ruby
<warrshrike> guys my ruby code is too slow
<warrshrike> I'm in big trouble
<muzik> What kind of project are you running?
<warrshrike> muzik: its a batch analysis kind of thing -> read long text files (app data) -> make OO objects 'nodes' -> apply a string matching algorithm 'levinshtein'
wanhar has quit [Remote host closed the connection]
<warrshrike> basically, by comparing different "appdata's" for similarity, it tries to find malware, but isn't really relevant i guess
wanhar has joined #ruby
<muzik> Can any of your code be further optimized?
<havenwood> warrshrike: what db are you using? is this a db query?
<warrshrike> basically there are 2000 apps. so it should take 2000 * 2000 * time taken. time taken varies from 0.1 ms to 16 ms.
<muzik> By using "puts 1", "puts 2" and using the time command in your shell, you can look for slow parts
<warrshrike> havenwood: no reading off text files stored on my ssd
guacamol_ has joined #ruby
<warrshrike> muzik: i suspect the levinshtein algorithm is too slow
<warrshrike> il show you guys maybe you can spot something obvious
<havenwood> warrshrike: Ah, was going to say we use Postgres fuzzystrmatch for fast levenshtein.
<havenwood> warrshrike: What's your implementation? Using the one from Gem::Text or a gem?
<muzik> Wow. thats an interesting read on wikipedia
moei has quit [Quit: Leaving...]
<muzik> Could you run it in a ram drive?
<warrshrike> havenwood: err something i read off a website...here it is
jenrzzz has joined #ruby
<warrshrike> havenwood: whats postgres fuzzystrmatch
<havenwood> >> require 'rubygems/text'; include Gem::Text; levenshtein_distance 'warrshrike', 'mountainbike'
<ruby[bot]> havenwood: # => 9 (https://eval.in/838132)
<warrshrike> btw this algo was designed for string but im using it for arrays containing node class which implements ==
<havenwood> warrshrike: It provides postgres functions for levenshtein, soundex, etc.
eckhardt has joined #ruby
<havenwood> warrshrike: I believe the Gem::Text implementation will be quite a bit faster. Or you can use a c-ext gem.
<warrshrike> havenwood: oh thats very cool!. would it work on my arrays rather than strings?
<havenwood> You'd have to modify it. Arrays of chars?
AKPWD has quit [Ping timeout: 246 seconds]
<warrshrike> havenwood: nope array of Node class (which implements ==)
dviola has quit [Changing host]
dviola has joined #ruby
<warrshrike> the current one worked as is so i thanked the stars and moved on
mesamoo has joined #ruby
AKPWD has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
renchan has joined #ruby
<warrshrike> havenwood: yeah it uses stuff like each_char
<warrshrike> wont work for arrays
moei has joined #ruby
<havenwood> Or you could use a Levenshtein Rust crate with Helix.
<warrshrike> err whats a rust crate
<havenwood> Crystal-lang has native Levenshtein you could embed in a gem.
<havenwood> I mean a cargo package*
<warrshrike> may i could use a client server architecture with tcp sockets and a dedicated server running levinshtein in c
<warrshrike> but wouldnt the same issues occur. c and rust are typed so
<havenwood> warrshrike: I'd be tempted to make a postgres adapter to the files and use fuzzystrmatch extension
guacamol_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<warrshrike> i suspect theyd be even agreeable to using arrays...
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<warrshrike> havenwood: isnt postgres a database? how would it fit here
<havenwood> it is a db, yeah
<warrshrike> so the first rubygems extension you gave me seems like it should work but these are the only troubling lines
<warrshrike> str1.each_char.each_with_index do |char1,i|
<havenwood> warrshrike: i was thinking a foreign data wrapper
<warrshrike> what can i replace each_char with in case of an array?
bronson has joined #ruby
<havenwood> A file wrapper, then the very fast fuzzystrmatch
<havenwood> I dunno
kculpis has quit [Quit: Leaving]
<havenwood> warrshrike: Amazon Lambda, Levenshtein as a service.
Joufflu has joined #ruby
<warrshrike> hmm this sounds like it work
<warrshrike> lol @ levinshtein as a service ~~
ta_ has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
Joufflu has quit [Ping timeout: 276 seconds]
nadir has joined #ruby
jenrzzz has joined #ruby
nacsurte has joined #ruby
yunior_alayo has joined #ruby
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 268 seconds]
<yunior_alayo> hello everybody
<yunior_alayo> i need some help with RoR
<yunior_alayo> and mailers
<yunior_alayo> i'm getting an error when i call the mail method in the mailer
<yunior_alayo> wrong number of arguments (given 1, expected 0)
<warrshrike> yunior_alayo: try #rubyonrails
<yunior_alayo> i can not open that channel
JBlazeCo_ has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
JBlazeCoder21 has joined #ruby
nacsurte has quit [Ping timeout: 255 seconds]
__Yiota has joined #ruby
juggler has joined #ruby
<havenwood> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<havenwood> ?register yunior_alayo
<ruby[bot]> yunior_alayo: you need to be identified with NickServ, see `/msg NickServ HELP` or: https://freenode.net/kb/answer/registration
mim1k has quit [Ping timeout: 240 seconds]
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
__Yiota has quit [Client Quit]
jenrzzz has quit [Ping timeout: 240 seconds]
kies has joined #ruby
JBlazeCo_ has quit [Read error: Connection reset by peer]
JBlazeCoder21 has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 248 seconds]
JBlazeCo_ has joined #ruby
warrshrike has quit [Ping timeout: 260 seconds]
smulverine has joined #ruby
JBlazeCo_ has quit [Read error: Connection reset by peer]
JBlazeCoder21 has joined #ruby
lesce has joined #ruby
hutch34 has quit [Quit: WeeChat 1.5]
guardianxx has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 260 seconds]
JBlazeCo_ has joined #ruby
lesce has quit [Ping timeout: 255 seconds]
ahrs has quit [Remote host closed the connection]
ahrs has joined #ruby
hndk has joined #ruby
JBlazeCo_ has quit [Ping timeout: 246 seconds]
JBlazeCoder21 has joined #ruby
dviola has quit [Quit: WeeChat 1.9]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
eckhardt has quit [Client Quit]
kwesidev has joined #ruby
govg has quit [Ping timeout: 255 seconds]
umaaji has quit [Quit: Leaving...]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
jackjackdripper has joined #ruby
govg has joined #ruby
kwesidev has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
nofxxxx has joined #ruby
umaaji has joined #ruby
ta_ has joined #ruby
djbkd has joined #ruby
nofxxx has quit [Ping timeout: 260 seconds]
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 276 seconds]
jameser has joined #ruby
JBlazeCoder21 has joined #ruby
JBlazeCo_ has quit [Read error: Connection reset by peer]
Bock has joined #ruby
uZiel has joined #ruby
ascarter has joined #ruby
oleo has quit [Quit: irc client terminated!]
JBlazeCoder21 has quit [Ping timeout: 276 seconds]
JBlazeCoder21 has joined #ruby
hndk has quit [Quit: Leaving]
<zenspider> yunior_alayo: so don't pass an arg
ascarter has quit [Read error: Connection reset by peer]
JBlazeCoder21 has quit [Ping timeout: 248 seconds]
ascarter_ has joined #ruby
brent__ has joined #ruby
JBlazeCoder21 has joined #ruby
Joufflu has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
brent__ has quit [Ping timeout: 276 seconds]
JBlazeCoder21 has joined #ruby
<Joufflu> Hi\
<Joufflu> testing new mechanical keyboard...yup it sucks
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 258 seconds]
JBlazeCoder21 has joined #ruby
jefffree has quit [Ping timeout: 276 seconds]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<muzik> Which keyboard?
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 276 seconds]
ascarter_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
JBlazeCoder21 has joined #ruby
JBlazeCo_ has quit [Ping timeout: 276 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bonhoeffer has joined #ruby
jameser has joined #ruby
JBlazeCo_ has joined #ruby
anisha has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 260 seconds]
marr has joined #ruby
bonhoeffer has quit [Read error: Connection reset by peer]
JBlazeCo_ has quit [Ping timeout: 246 seconds]
JBlazeCoder21 has joined #ruby
tvw has joined #ruby
mtkd has quit [Ping timeout: 260 seconds]
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 248 seconds]
wnd has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
wnd has joined #ruby
cam27 has quit [Quit: cam27]
QualityAddict has quit [Remote host closed the connection]
JBlazeCo_ has quit [Ping timeout: 240 seconds]
gwilkes has joined #ruby
JBlazeCoder21 has joined #ruby
roshanavand has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
bronson has joined #ruby
ResidentBiscuit has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCo_ has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
ResidentBiscuit has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
JBlazeCo_ has quit [Ping timeout: 255 seconds]
djbkd has quit [Remote host closed the connection]
AX31_A13X has quit [Quit: AX31_A13X]
andrzejku has joined #ruby
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 268 seconds]
mim1k has joined #ruby
webnanners has quit [Ping timeout: 240 seconds]
webnanners has joined #ruby
conta has joined #ruby
JBlazeCo_ has quit [Ping timeout: 246 seconds]
mim1k has quit [Ping timeout: 246 seconds]
JBlazeCoder21 has joined #ruby
ta_ has joined #ruby
nupizdets has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
Dimik has quit [Ping timeout: 268 seconds]
vali has quit [Read error: Connection reset by peer]
pwned has joined #ruby
vali has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
alveric1 has quit [Quit: WeeChat 1.9]
cadillac_ has quit [Ping timeout: 255 seconds]
JBlazeCo_ has joined #ruby
cadillac_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 260 seconds]
lesce has joined #ruby
iMadper has quit [Ping timeout: 240 seconds]
JBlazeCo_ has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
lesce has quit [Ping timeout: 240 seconds]
mark_66 has joined #ruby
QualityAddict has joined #ruby
QualityAddict is now known as Guest29292
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
Awsy has joined #ruby
garathem has joined #ruby
enterprisey has quit [Read error: Connection reset by peer]
Azure has quit [Quit: Oops.]
stoffus has joined #ruby
lesce has joined #ruby
ltem has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 246 seconds]
JBlazeCoder21 has joined #ruby
lesce has quit [Client Quit]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
guardianxx has left #ruby [#ruby]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aufi has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
ta_ has quit [Ping timeout: 246 seconds]
ledestin has joined #ruby
Tempesta_ is now known as Tempesta
Tempesta has quit [Changing host]
Tempesta has joined #ruby
sylario has joined #ruby
high_fiver has joined #ruby
ResidentBiscuit has joined #ruby
high_fiver_ has joined #ruby
high_fiver_ has quit [Remote host closed the connection]
ResidentBiscuit has quit [Ping timeout: 240 seconds]
mark_66 has quit [Quit: Leaving.]
mark_66 has joined #ruby
Joufflu_Fail has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
ta_ has joined #ruby
Joufflu has quit [Ping timeout: 246 seconds]
andrzejku has quit [Quit: Textual IRC Client: www.textualapp.com]
antgel has joined #ruby
SteenJobs_ has quit [Quit: SteenJobs_]
jaruga has joined #ruby
chg has joined #ruby
Silthias has quit [Read error: Connection reset by peer]
Silthias has joined #ruby
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 255 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
jcao219 has quit [Ping timeout: 240 seconds]
jcao219 has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
jcao219 has quit [Ping timeout: 240 seconds]
Bhootrk_ has joined #ruby
mim1k has joined #ruby
jameser has joined #ruby
muzik has quit [Ping timeout: 240 seconds]
nupizdets has quit [Ping timeout: 240 seconds]
high_fiver has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
code_zombie_ is now known as code_zombie
InfinityFye has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
kapil___ has joined #ruby
TomyWork has joined #ruby
anisha has quit [Read error: Connection reset by peer]
anisha has joined #ruby
nacsurte has joined #ruby
nacsurte has quit [Ping timeout: 240 seconds]
smulverine has quit [Remote host closed the connection]
pandaant has joined #ruby
Beams has joined #ruby
minimalism has quit [Quit: minimalism]
aupadhye has joined #ruby
ruby-lang952 has joined #ruby
Joufflu_Fail has quit [Ping timeout: 240 seconds]
aupadhye has quit [Ping timeout: 276 seconds]
agent_white has quit [Quit: bai]
astrobunny has quit [Remote host closed the connection]
wanhar has quit [Ping timeout: 276 seconds]
<ruby-lang952> please an someone help me with debugging this.I am new to Ruby actually
<ruby-lang952> i am getting the correct value in console , but getting wrong in erb.html
jinie_ has quit [Ping timeout: 260 seconds]
jinie_ has joined #ruby
aupadhye has joined #ruby
umaaji has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
domgetter has quit [Ping timeout: 246 seconds]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JBlazeCoder21 has quit [Ping timeout: 248 seconds]
JBlazeCoder21 has joined #ruby
workmad3 has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
Cohedrin_ has joined #ruby
andy has joined #ruby
andy has quit [Client Quit]
JBlazeCoder21 has quit [Ping timeout: 260 seconds]
JBlazeCo_ has joined #ruby
ledestin has joined #ruby
Pumukel has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JBlazeCo_ has quit [Read error: Connection reset by peer]
JBlazeCoder21 has joined #ruby
<dminuoso> ruby-lang952: What is wrong about it?
wnd has quit [Excess Flood]
wnd has joined #ruby
<dminuoso> ruby-lang952: But sure. The trick to debugging is isolation and/or introspection. a) you want to make sure as much irrelevavnt code as possible is removed, and b) you get a perspective from the context that stuff goes wrong.
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
<dminuoso> The first is easily doable with the help of git branches (just stash uncommitted changes away, create a new branch and just delete unnecessary code quickly), the second is usually a combination of pry, byebug (or both with pry-byebug) and various "logging" methods.
JBlazeCoder21 has quit [Ping timeout: 246 seconds]
JBlazeCoder21 has joined #ruby
* arahael usually goes straight to logging.
yunior_alayo has quit [Remote host closed the connection]
yunior_alayo has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 246 seconds]
JBlazeCoder21 has joined #ruby
Serpent7776 has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 246 seconds]
JBlazeCoder21 has joined #ruby
Macaveli has joined #ruby
juggler has quit [Ping timeout: 246 seconds]
brent__ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
<Terens> I get this RubyDep: WARNING: Your Ruby is: 2.3.0 (buggy). Recommendation: upgrade to 2.3.1.
romankapitonov has joined #ruby
guardianx has joined #ruby
brent__ has quit [Ping timeout: 260 seconds]
Pumukel has quit []
<dminuoso> Terens: And you have trouble understanding what it wants from you?
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 260 seconds]
ResidentBiscuit has joined #ruby
JBlazeCoder21 has joined #ruby
JBlazeCo_ has quit [Ping timeout: 260 seconds]
gokhan__ has joined #ruby
<Terens> no
ResidentBiscuit has quit [Ping timeout: 276 seconds]
<Terens> I wonder whether it is a real problem
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCo_ has joined #ruby
<apeiros> no, they just went out of their way to write that warning for fun
<Terens> lol
<Terens> If it was under my control I would upgrade
jameser has joined #ruby
tvw has quit []
tvw has joined #ruby
JBlazeCo_ has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
jgt has joined #ruby
Bhootrk_ has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has quit [Ping timeout: 248 seconds]
JBlazeCoder21 has joined #ruby
bronson has joined #ruby
SteenJobs_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dminuoso> Terens: But I see your pain. It would really be helpful if programs didn't annoy you constantly that there's important updates pending. Remember those days when you would just install an apache with mod php and never upgrade it for the next 15 years?
<dminuoso> Those were the days my friend.
<Terens> lol
<dminuoso> Terens: 2.3.1 didn't bring many bugfixes. http://svn.ruby-lang.org/repos/ruby/tags/v2_3_1/ChangeLog
<dminuoso> As you can see it was just a minor bugfix patch.
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCo_ has joined #ruby
ElFerna has joined #ruby
ruby-lang952 has quit [Ping timeout: 260 seconds]
moeabdol has joined #ruby
moeabdol has quit [Client Quit]
moeabdol has joined #ruby
<Terens> lol this is bug
<Terens> big*
gokhan__ has quit [Remote host closed the connection]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JBlazeCo_ has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
jameser has joined #ruby
jameser has quit [Client Quit]
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mon_Ouie has joined #ruby
millerti has joined #ruby
bonhoeffer has joined #ruby
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 268 seconds]
ledestin has joined #ruby
JBlazeCo_ has quit [Ping timeout: 258 seconds]
JBlazeCoder21 has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Cohedrin_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JBlazeCoder21 has quit [Ping timeout: 246 seconds]
JBlazeCoder21 has joined #ruby
StoneWaves has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.9]
drkhsh has joined #ruby
rabajaj has joined #ruby
<drkhsh> hey all, i have to setup gitlab with ci for work and they want me to implement the missing feature from https://gitlab.com/gitlab-org/gitlab-ce/issues/13187 but i am not able to find a solution as i never used ruby lol ^^ can anyone help me where to get started?
JBlazeCoder21 has quit [Read error: Connection reset by peer]
JBlazeCoder21 has joined #ruby
Mon_Ouie has joined #ruby
rgtk has joined #ruby
muzik has joined #ruby
<dminuoso> ?books
<ruby[bot]> You can find a list of recommended books at http://ruby-community.com/pages/links
JBlazeCoder21 has quit [Ping timeout: 260 seconds]
JBlazeCo_ has joined #ruby
<drkhsh> dminuoso: i dont want to learn ruby. i have to get work done and i thought someone in here has a little time to look over the code and point me in the right direction
<muzik> But Ruby is the greatest programming language, like, EVAR!
<dminuoso> drkhsh: So let me get this straight. You don't want to learn Ruby, but you want to contribute to a project written in Ruby?
<muzik> He wants to work, but doesnt want to know how the work works. Thats works
<drkhsh> dminuoso: i dont want to contribute. i have to. we need this feature in my company and i have to set it up
<dminuoso> Let's see what yorickpeterse has to say :-)
<drkhsh> is anyone in here willing to have a look. please
<muzik> What is the problem? Where is a pastebin of the code?
<dminuoso> There.
<drkhsh> muzik: did you read the issue?
<muzik> No
<muzik> I just joined the channel
<dminuoso> drkhsh: Start learning how gitlab-ci works.
<dminuoso> drkhsh: But.. without understanding Ruby that would be quite an interesting journey.
<drkhsh> dminuoso: i know how gitlab-ci works
<drkhsh> i worked with it full time for 3 days now
<herwin> the easier solution would be to pay someone to fix it for you
<dminuoso> drkhsh: You understand how to _use_ it.
<dminuoso> You dont know how it works.
<drkhsh> yeah ok ^^
<dminuoso> What herwin said ^-
<dminuoso> Hire someone or learn Ruby.
JBlazeCo_ has quit [Ping timeout: 248 seconds]
<drkhsh> yeah ^^
JBlazeCoder21 has joined #ruby
<drkhsh> thought someone of you ruby-geniuses has a clue where the key functions are
<dminuoso> drkhsh: In a project of that magntitude it will be more than just "inserting some line of code in the right place"
<drkhsh> dminuoso: but it should be. i already had a look in some files
<drkhsh> app/models/ci/pipeline.rb for example
<dminuoso> drkhsh: I wouldn't know. I dont understand how gitlab works internally.
<drkhsh> hm
<herwin> this feels a bit like asking ``you all speak English, I don't understand this book about quantum physics that is written in English, could someone help me with that?''
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
sysvalve has joined #ruby
<ytti> drkhsh, i'm sure gitlab will build feature your company wants if you pay them
<ytti> drkhsh, probably will be quite affordable too
<StoneWaves> Have you asked in #gitlab about the status of the feature and any progress?
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
howdoi has joined #ruby
<ytti> this is probably week of work for someone not familiar with gitlab
jameser has joined #ruby
<ytti> and probably half a day for someone familiar with gitlab
rgtk has quit [Ping timeout: 248 seconds]
rgtk has joined #ruby
JBlazeCoder21 has joined #ruby
JBlazeCo_ has quit [Ping timeout: 276 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
ramfjord has joined #ruby
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 268 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
jameser has joined #ruby
JBlazeCoder21 has joined #ruby
JBlazeCo_ has quit [Ping timeout: 268 seconds]
muzik has quit [Read error: Connection reset by peer]
cahoots has joined #ruby
muzik has joined #ruby
muzik has quit [Client Quit]
muzik has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 260 seconds]
JBlazeCoder21 has joined #ruby
ldnunes has joined #ruby
muzik has quit [Client Quit]
muzik has joined #ruby
nowhere_man has quit [Ping timeout: 276 seconds]
muzik has quit [Read error: Connection reset by peer]
ElFerna has quit [Ping timeout: 260 seconds]
JBlazeCoder21 has quit [Ping timeout: 246 seconds]
JBlazeCoder21 has joined #ruby
muzik has joined #ruby
Macaveli has joined #ruby
muzik has quit [Client Quit]
muzik has joined #ruby
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 276 seconds]
bonhoeffer has quit [Ping timeout: 246 seconds]
JBlazeCo_ has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
dionysus69 has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
SteenJobs_ has quit [Quit: SteenJobs_]
rgtk has quit [Ping timeout: 240 seconds]
eregon_ is now known as eregon
ramfjord has joined #ruby
rgtk has joined #ruby
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
__Yiota has joined #ruby
guardianx has left #ruby [#ruby]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 248 seconds]
JBlazeCo_ has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bhootrk_ has joined #ruby
Bhootrk_ has quit [Max SendQ exceeded]
__Yiota has joined #ruby
Bhootrk_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
anisha has quit [Read error: Connection reset by peer]
SteenJobs_ has joined #ruby
anisha has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
synthroid has joined #ruby
ramfjord has joined #ruby
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
bronson has joined #ruby
nzst has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
JBlazeCoder21 has joined #ruby
JBlazeCo_ has quit [Ping timeout: 260 seconds]
bronson has quit [Ping timeout: 255 seconds]
ElFerna has joined #ruby
dionysus69 has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
pandaant has quit [Remote host closed the connection]
synthroi_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
phinxy has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
ahmgeek has joined #ruby
<ahmgeek> hey all
zanshin has quit [Quit: WeeChat 1.8]
<ahmgeek> ehy there's no a good book regards testing
synthroid has quit [Ping timeout: 255 seconds]
<ahmgeek> in ruby I mean
Macaveli has joined #ruby
Macaveli has quit [Client Quit]
stoffus has quit [Ping timeout: 248 seconds]
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
ahmgeek has quit [Client Quit]
JBlazeCoder21 has joined #ruby
ramfjord has joined #ruby
nekomune has quit [Ping timeout: 246 seconds]
aurelien has quit [Ping timeout: 258 seconds]
JBlazeCoder21 has quit [Ping timeout: 246 seconds]
JBlazeCoder21 has joined #ruby
ramfjord has quit [Ping timeout: 255 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oliv_____ has joined #ruby
mim1k has joined #ruby
<muzik> There are plenty
tacoboy has joined #ruby
JBlazeCo_ has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
oliv_____ has quit [Ping timeout: 246 seconds]
jphase has joined #ruby
nekomune has joined #ruby
mtkd has quit [Ping timeout: 248 seconds]
mtkd has joined #ruby
__Yiota has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
eljimmy has joined #ruby
rgtk has quit [Ping timeout: 248 seconds]
olivi____ has joined #ruby
charliesome has joined #ruby
Mon_Ouie has joined #ruby
JBlazeCoder21 has quit [Read error: Connection reset by peer]
JBlazeCoder21 has joined #ruby
npgm has quit [Quit: Connection closed for inactivity]
rfoust has joined #ruby
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JBlazeCoder21 has quit [Read error: Connection reset by peer]
JBlazeCo_ has joined #ruby
ElFerna has quit [Ping timeout: 240 seconds]
Bhootrk_ has quit [Read error: Connection reset by peer]
JBlazeCoder21 has joined #ruby
JBlazeCo_ has quit [Ping timeout: 258 seconds]
millerti has quit [Quit: Textual IRC Client: www.textualapp.com]
cam27 has joined #ruby
JBlazeCoder21 has quit [Read error: Connection reset by peer]
JBlazeCoder21 has joined #ruby
synthroi_ has quit [Remote host closed the connection]
cahoots has quit [Ping timeout: 258 seconds]
aclark has quit [Remote host closed the connection]
cahoots has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCo_ has joined #ruby
aclark has joined #ruby
t-recx has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JBlazeCoder21 has joined #ruby
JBlazeCo_ has quit [Ping timeout: 276 seconds]
minimalism has joined #ruby
truenito has joined #ruby
naprimer2 has quit [Ping timeout: 240 seconds]
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 260 seconds]
ltem has quit [Quit: Leaving]
__Yiota has joined #ruby
JBlazeCo_ has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
tvw has quit [Remote host closed the connection]
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
ElFerna has joined #ruby
dhaller has joined #ruby
fohpi has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
synthroid has joined #ruby
chouhoulis has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
GodFather has joined #ruby
cahoots has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
naprimer2 has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 246 seconds]
_aeris_ has quit [Excess Flood]
JBlazeCoder21 has joined #ruby
_aeris_ has joined #ruby
GodFather has quit [Quit: Ex-Chat]
fohpi has quit [Ping timeout: 260 seconds]
GodFather has joined #ruby
apparition has joined #ruby
ferr has quit [Quit: WeeChat 1.9]
JBlazeCoder21 has quit [Ping timeout: 248 seconds]
JBlazeCoder21 has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gokhan_caglar has joined #ruby
rgtk has joined #ruby
nickjj_ has joined #ruby
yabbes has joined #ruby
nickjj has quit [Ping timeout: 268 seconds]
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 258 seconds]
cam27 has quit [Quit: cam27]
<yabbes> hey, this is a beginner question but maybe someone could point me out why im failing to use attr_accessor here https://pastebin.com/CkNUaPUh :/ i thought the point of it was that the attribute would not have to be declared explicitly in the constructor.. all documentation i found says this should work, what am i doing wrong o.O
<ruby[bot]> yabbes: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/9217d15fdb1b8791ef87b80c02bf5021
<ruby[bot]> yabbes: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<yabbes> sorry, yeah
ElFerna has quit [Ping timeout: 246 seconds]
lizardtotem has joined #ruby
runescape07rsps has joined #ruby
nowhere_man has joined #ruby
<yabbes> my version of ruby is 2.3.1p112; i already thought maybe this does not exist anymore but its still in the doc
cahoots has joined #ruby
JBlazeCo_ has quit [Ping timeout: 258 seconds]
JBlazeCoder21 has joined #ruby
Rapture has joined #ruby
<Papierkorb> yabbes: An accessor has a reader (getter), and a writer (setter) part. The latter is used with a `=`. Like in line 12: https://gist.github.com/Papierkorb/8a87ce531272c94abd85c28dde5332f7
<dminuoso> yabbes: Okay, so attr_accessor is basically a shorthand for: def value(); return @value; end; def value=(value); @value = value; end
<dminuoso> yabbes: Explicit parens added for clarification.
<dminuoso> yabbes: as such d.value(30) is trying to invoke the third, but it was implicitly declared to not accept any arguments
<dminuoso> hence "given 1, expected 0"
gizmore|2 is now known as gizmore
<dminuoso> *trying to invoke the first
<yabbes> ah
<yabbes> so I cannot really use this shorthand to replace my constructor to set attributes completely ? i tried the attr_reader and _writer before and i didnt really notice anything odd; i have to think about your answer a bit i guess :P
<yabbes> thank you
<dminuoso> yabbes: What is d.value(30) supposed to do?
<lupine> Net::SSH 'strict' host key verifier: "we've never seen this host before, so just automatically add the key."
<lupine> lol
<yabbes> set the @value to 30
<yabbes> of Ding
<dminuoso> yabbes: Okay, so attr_accessor is basically a shorthand for: def value(); return @value; end; def value=(value); @value = value; end
JBlazeCoder21 has quit [Ping timeout: 260 seconds]
cahoots has quit [Ping timeout: 260 seconds]
<dminuoso> Stare at that line for a while. :-)
<yabbes> yeah !
JBlazeCoder21 has joined #ruby
<yabbes> no i wrote those functions before
<yabbes> and it worked
<yabbes> now i thought i could replace them
<dminuoso> yabbes: You wrote something different then.
bonhoeffer has joined #ruby
<dminuoso> yabbes: Which one do you think you are invoking?
<dminuoso> value() or value=(value) ?
<yabbes> the setter value=(value)
<yabbes> i love ruby but this is complicated, i have to think :P
<nzst> good
<Papierkorb> an equal sign doesn't appear out of nowhere. *That* would be complicated.
<yabbes> okay now i understand your response too Papierkorb
<yabbes> oh man
<yabbes> im stupid
<yabbes> thank you all okay
<yabbes> ;)
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
<yabbes> took me a while
<yabbes> so the solution is to use d.value = x
JBlazeCoder21 has joined #ruby
Axy has joined #ruby
<yabbes> d.value=
bronson has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
selim has joined #ruby
oleo has joined #ruby
JBlazeCoder21 has joined #ruby
SteenJobs_ has quit [Quit: SteenJobs_]
bronson has quit [Ping timeout: 240 seconds]
gokhan_caglar has quit [Quit: Leaving]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
ElFerna has joined #ruby
ResidentBiscuit has joined #ruby
gheegh has quit [Remote host closed the connection]
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
JBlazeCoder21 has joined #ruby
ltem has joined #ruby
cdg has joined #ruby
Kartagis has joined #ruby
cptAngry has joined #ruby
sepp2k has joined #ruby
antgel has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
cptAngry has quit [Quit: Leaving]
bruno- has joined #ruby
mikecmpbll has joined #ruby
lizardtotem has left #ruby ["WeeChat 1.9"]
cptAngry has joined #ruby
rgtk has quit [Ping timeout: 268 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JBlazeCoder21 has joined #ruby
bonhoeffer has quit [Ping timeout: 276 seconds]
synthroi_ has joined #ruby
synthroid has quit [Ping timeout: 246 seconds]
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCo_ has joined #ruby
ruby085 has joined #ruby
ruby085 has quit [Client Quit]
xall has joined #ruby
JBlazeCo_ has quit [Ping timeout: 248 seconds]
polishdub has joined #ruby
JBlazeCoder21 has joined #ruby
StoneWaves has left #ruby ["Textual IRC Client: www.textualapp.com"]
ar1a has quit [Ping timeout: 240 seconds]
bonhoeffer has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 248 seconds]
JBlazeCoder21 has joined #ruby
muzik has quit [Quit: Going offline, see ya! (www.adiirc.com)]
jcao219 has joined #ruby
JBlazeCo_ has joined #ruby
InfinityFye has quit [Read error: Connection reset by peer]
JBlazeCoder21 has quit [Ping timeout: 276 seconds]
uZiel has quit [Ping timeout: 248 seconds]
guacamol_ has joined #ruby
roshanavand has quit [Quit: roshanavand]
garathem has quit [Ping timeout: 268 seconds]
JBlazeCo_ has quit [Read error: Connection reset by peer]
mark_66 has quit [Remote host closed the connection]
rgr has joined #ruby
cptAngry|2 has joined #ruby
apparition has quit [Quit: Bye]
<cjohnson> Is there are smarter way to write (in haml): - if (defined? someVar) && someVar
xall has quit [Quit: xall]
cptAngry has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
<nzst> what are you trying to safeguard against?
mikecmpbll has quit [Quit: inabit. zz.]
<cjohnson> It's a partial, and in cases where I don't pass someVar as a var to the partial, I'd rather omit the section
<cjohnson> But I'd prefer not to have to explicitly include someVar: false in every inclusion of the partial
<cjohnson> if that makes sense
<Papierkorb> you can also do `- foo ||= nil`, and then `- if foo`. makes it a two liner, but possibly nicer.
<cjohnson> Cool thanks for the tip
Kartagis has left #ruby ["I'll be back...or not"]
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
<cjohnson> I like that more than mine, using it
auxbuss has joined #ruby
auxbuss has quit [Client Quit]
dhaller has quit [Quit: Textual IRC Client: www.textualapp.com]
bkxd has quit [Ping timeout: 248 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has joined #ruby
ElFerna has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has quit [Read error: Connection reset by peer]
JBlazeCoder21 has joined #ruby
cagomez has joined #ruby
cdg has quit [Remote host closed the connection]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
sgen has joined #ruby
pwned has quit [Ping timeout: 258 seconds]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
eelster has joined #ruby
JBlazeCoder21 has quit [Read error: Connection reset by peer]
JBlazeCoder21 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
vondruch has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
ElFerna has joined #ruby
pwned has joined #ruby
eugenmayer1 has joined #ruby
Awsy has quit [Ping timeout: 268 seconds]
<eugenmayer1> hello. I am using a gem ( diplomat ) which needs an urgent fix and it seems to not happen very soon. What would be the best way to apply the fix myself ( i forked / fixed it already ) and make it part of my deployment pipeline. I have a own gemserver already ( sonanexus ) so i could publish it under the same name there and would need to kind of change the sources then
<eugenmayer1> forking it and putting it under myname-diplomat i would say is no option, i do not plan to maintain the fork, rather just bridge the time until the official release.
govg has quit [Ping timeout: 260 seconds]
<nzst> eugenmayer1: I point to a github repository in my gemfile sometimes , especially when a gem's master branch works but not the published version
__Yiota has joined #ruby
<eugenmayer1> i see, makes sense!
<Papierkorb> eugenmayer1: Do what you say, but also Watch the github repository. I know Diplomat, and we also stumbled across issues in it heh
<eugenmayer1> did not take this way into account, makes a lot more sense to me and is less effort i guess
brent__ has joined #ruby
<Papierkorb> eugenmayer1: So at least that way, you can move on, but get notified when something happened. Open a GH issue nontheless
brent__ has quit [Remote host closed the connection]
<eugenmayer1> Papierkorb: well Issues and Diplomat should be always put into the same sentence..
brent__ has joined #ruby
<eugenmayer1> issue is open, pull request is there but as usual in this project, they are going to react about 2018/19
<eugenmayer1> approximately
<Papierkorb> eugenmayer1: *cough* docker-api
<eugenmayer1> not sure what you mean with docker-api
_main_ has joined #ruby
<Papierkorb> Oh yeah. Really, someone should fork diplomat (and probably rename it?), and then maintain it.
JBlazeCoder21 has joined #ruby
perniciouscaffei has joined #ruby
<Papierkorb> eugenmayer1: a docker gem we also used, which sometimes had funny issues. Also due to the fact that Docker (at least when we used it) constantly broke the API, so the fault is not even fully on the gem.
davidmichaelkarr has joined #ruby
rgtk has joined #ruby
<eugenmayer1> diplomat has literally nothing to do with the dockerAPI, its a more or less REST client for diplomat - we might talk about 2 different gems
bonhoeffer has quit [Ping timeout: 240 seconds]
<Papierkorb> eugenmayer1: we used both, and my remark had nothing much to do with diplomat. sorry for causing confusion.
__main__ has quit [Ping timeout: 240 seconds]
ltem has quit [Quit: Leaving]
<eugenmayer1> using docker for a long time know, never had issues them changing the API yet, but it depends on the case and way you are using it
_main_ is now known as __main__
konsolebox has quit [Max SendQ exceeded]
<eugenmayer1> nzst: is that how one does it? : s.add_runtime_dependency 'diplomat', :git => 'git@github.com:EugenMayer/diplomat', :branch => 'patch-1'
<nzst> I don't believe it's a feature for gemspecs . Bundle and Gemfiles only
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
Paraxial has quit [Remote host closed the connection]
<eugenmayer1> also s.add_runtime_dependency 'diplomat', :github => 'EugenMayer/diplomat', :branch => 'patch-1'
<eugenmayer1> does not work
<eugenmayer1> oh, ok
nacsurte has joined #ruby
sysvalve has quit [Quit: Leaving]
konsolebox has joined #ruby
[Butch] has joined #ruby
<eugenmayer1> guess you are right https://stackoverflow.com/a/15733860/3625317
barx has joined #ruby
rippa has joined #ruby
Dimik has joined #ruby
JBlazeCo_ has joined #ruby
jcao219 has quit [Ping timeout: 240 seconds]
zerowaitstate has joined #ruby
nacsurte has quit [Ping timeout: 248 seconds]
al2o3-cr has quit [Read error: Connection reset by peer]
JBlazeCo_ has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
anisha has quit [Read error: Connection reset by peer]
anisha has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has quit [Ping timeout: 258 seconds]
olivi____ has quit [Remote host closed the connection]
__Yiota has joined #ruby
nacsurte has joined #ruby
JBlazeCoder21 has quit [Read error: Connection reset by peer]
<brent__> anyone know how I can get a link in haml to execute a ruby method on click?
oliv_____ has joined #ruby
pabloh has joined #ruby
bonhoeffer has joined #ruby
ElFerna has quit [Ping timeout: 240 seconds]
conta has quit [Ping timeout: 240 seconds]
TomyWork has quit [Ping timeout: 240 seconds]
cahoots has joined #ruby
amclain has joined #ruby
S007 has quit [Ping timeout: 276 seconds]
kwesidev has joined #ruby
bronson has quit [Remote host closed the connection]
cahoots has quit [Ping timeout: 240 seconds]
gr33n7007h has joined #ruby
nowhere_man has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
bonhoeffer has quit [Ping timeout: 246 seconds]
banisterfiend has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
Serpent7776 has quit [Quit: Leaving]
S007 has joined #ruby
cdg has joined #ruby
guacamol_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aufi has quit [Quit: Leaving]
TomyLobo2 has joined #ruby
phinxy has quit [Read error: Connection reset by peer]
cdg has quit [Ping timeout: 276 seconds]
phinxy has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ResidentBiscuit has quit [Ping timeout: 255 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zerowaitstate has quit [Quit: leaving]
gusrub has joined #ruby
pavelz has quit [Quit: leaving]
nowhere_man has quit [Ping timeout: 255 seconds]
kies has quit [Ping timeout: 240 seconds]
cam27 has joined #ruby
kkiero has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
hwayne has joined #ruby
wald0 has joined #ruby
banisterfiend has joined #ruby
<hwayne> The more I try to do stupid htings with rspec the more I realize why Minitest exists
kkiero has left #ruby [#ruby]
oliv_____ has quit [Ping timeout: 246 seconds]
ColeHub has joined #ruby
Beams has quit [Quit: .]
graft has quit [Remote host closed the connection]
rahul_bajaj has joined #ruby
pwned has quit [Ping timeout: 255 seconds]
pwned has joined #ruby
oliv_____ has joined #ruby
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rabajaj has quit [Ping timeout: 276 seconds]
rahul_bajaj has quit [Remote host closed the connection]
punnie has quit [Quit: Connection closed for inactivity]
rahul_bajaj has joined #ruby
Rabbit_ has quit [Remote host closed the connection]
fohpi has joined #ruby
Dreamer3_ has quit [Quit: Computer has gone to sleep.]
ColeHub has quit [Quit: Bye.]
BSaboia has joined #ruby
Dreamer3_ has joined #ruby
Dreamer3_ has quit [Client Quit]
__Yiota has joined #ruby
gusrub has quit [Remote host closed the connection]
GodFather has quit [Ping timeout: 240 seconds]
chouhoul_ has joined #ruby
oleo has quit [Quit: irc client terminated!]
renchan has quit [Quit: Leaving...]
hwayne is now known as ohnowendigo
chouhoulis has quit [Ping timeout: 246 seconds]
oleo has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
truenito has quit [Ping timeout: 240 seconds]
rahul_bajaj has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
rahul_bajaj has joined #ruby
cdg has joined #ruby
jaruga has quit [Quit: jaruga]
cptAngry|2 has quit [Quit: KVIrc 4.9.1 Aria http://www.kvirc.net/]
ohnowendigo has quit [Remote host closed the connection]
jgt1 has joined #ruby
duderonomy has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
jgt has quit [Ping timeout: 240 seconds]
romankapitonov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
cdg_ has joined #ruby
brent__ has quit []
cahoots has joined #ruby
S007 has quit [Ping timeout: 255 seconds]
cdg has quit [Read error: Connection reset by peer]
yabbes has quit [Ping timeout: 258 seconds]
fohpi has quit [Ping timeout: 260 seconds]
S007 has joined #ruby
rgtk has quit [Ping timeout: 240 seconds]
sarmiena_ has joined #ruby
bruno- has joined #ruby
kies has joined #ruby
nzst has quit [Quit: Using Circe, the loveliest of all IRC clients]
pwned_ has joined #ruby
ElFerna has joined #ruby
nowhere_man has joined #ruby
pwned has quit [Ping timeout: 248 seconds]
rahul_bajaj has quit [Remote host closed the connection]
rahul_bajaj has joined #ruby
yabbes has joined #ruby
aupadhye has quit [Remote host closed the connection]
kwesidev has quit [Ping timeout: 246 seconds]
pwned has joined #ruby
pwned_ has quit [Ping timeout: 268 seconds]
jhass has quit [Ping timeout: 276 seconds]
sarmiena_ has quit [Quit: sarmiena_]
rahul_bajaj has quit [Ping timeout: 268 seconds]
jhass has joined #ruby
ResidentBiscuit has joined #ruby
brent__ has joined #ruby
marxarelli|afk is now known as marxarelli
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fohpi has joined #ruby
rabajaj has joined #ruby
oliv_____ has quit [Remote host closed the connection]
<konsolebox> Minitest++
rabajaj has quit [Remote host closed the connection]
rabajaj has joined #ruby
DTZUZU has quit [Quit: WeeChat 1.9]
oliv_____ has joined #ruby
vuoto has joined #ruby
perniciouscaffei has joined #ruby
ldnunes has quit [Ping timeout: 240 seconds]
ldnunes has joined #ruby
sarmiena_ has joined #ruby
ramfjord has joined #ruby
rabajaj has quit [Quit: Leaving]
dviola has joined #ruby
guacamol_ has joined #ruby
chouhoul_ has joined #ruby
gusrub has joined #ruby
chouhou__ has joined #ruby
JBlazeCoder21 has joined #ruby
gusrub has quit [Client Quit]
chouhoulis has quit [Ping timeout: 246 seconds]
nowhere_man has quit [Ping timeout: 255 seconds]
gusrub has joined #ruby
alexday has left #ruby ["WeeChat 1.8"]
Paraxial has joined #ruby
chouhoul_ has quit [Ping timeout: 248 seconds]
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
ltem has joined #ruby
vuoto has quit [Ping timeout: 240 seconds]
vuoto has joined #ruby
bronson has joined #ruby
JBlazeCoder21 has quit [Read error: Connection reset by peer]
JBlazeCo_ has joined #ruby
Paraxial has quit [Remote host closed the connection]
banisterfiend has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
chouhou__ has quit [Remote host closed the connection]
uZiel has joined #ruby
chouhoulis has joined #ruby
Paraxial has joined #ruby
JBlazeCo_ has quit [Ping timeout: 260 seconds]
JBlazeCoder21 has joined #ruby
eckhardt has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
DTZUZU has joined #ruby
Paraxial has quit [Read error: Connection reset by peer]
Paraxial has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
Eiam has joined #ruby
Beams has joined #ruby
chouhoulis has joined #ruby
DTZUZU has quit [Quit: WeeChat 1.9]
DTZUZU has joined #ruby
wilbert has joined #ruby
alex`` has joined #ruby
BSaboia has quit [Ping timeout: 240 seconds]
cagomez has quit [Remote host closed the connection]
Bock has quit [Ping timeout: 240 seconds]
Paraxial has quit [Remote host closed the connection]
fohpi has quit [Quit: Page closed]
jackjackdripper has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
jackjackdripper has quit [Client Quit]
jackjackdripper has joined #ruby
weaksauce has quit [Read error: Connection reset by peer]
S007 has quit [Ping timeout: 258 seconds]
yunior_alayo has quit [Read error: Connection reset by peer]
Joufflu_Fail has joined #ruby
Joufflu_Fail has quit [Client Quit]
Luyt_ has quit [Ping timeout: 240 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
uZiel has joined #ruby
chouhoulis has quit [Remote host closed the connection]
marxarelli is now known as marxarelli|afk
postmodern has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cadillac_ has joined #ruby
nowhere_man has joined #ruby
SeepingN has joined #ruby
knight33 has joined #ruby
ElFerna has quit [Ping timeout: 255 seconds]
marxarelli|afk is now known as marxarelli
chouhoulis has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
SHyx0rmZ has joined #ruby
Sammichmaker has joined #ruby
Sammichmaker has quit [Changing host]
Sammichmaker has joined #ruby
plujon has joined #ruby
zapata has quit [Quit: WeeChat 1.9]
<plujon> Can one define a method in a module that is available without qualification to classes in that module?
<plujon> as in http://ix.io/yJJ
zapata has joined #ruby
<Mon_Ouie> No, you could do something like including module M in class C
<sepp2k> plujon: The classes could include the module, but you probably meant something more automatic, right?
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<plujon> Yes because the module has many classes.
uZiel has quit [Ping timeout: 248 seconds]
<plujon> I notice that I define foo outside M, that seems to work. But I was aiming to avoid polluting the namespace outside of M.
jphase has left #ruby [#ruby]
<sepp2k> plujon: You could loop over all the classes to include the module.
<sepp2k> Outside it works because you're adding the methods to the Kernel (I think) module, which gets included automatically.
<plujon> Hmm.
<plujon> module M; FOO=40; end # works for constants
Dreamer3_ has joined #ruby
<plujon> Kernel module? Interesting.
bronson has joined #ruby
<sepp2k> Constants have actual lookup rules. Methods are always instance methods (that is `foo(x,y)` always calls `foo` as an instance method on `self`).
guacamol_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
S007 has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
phinxy has quit [Quit: Leaving]
mipesom has joined #ruby
mipesom has quit [Remote host closed the connection]
oliv_____ has quit [Remote host closed the connection]
DTZUZU has quit [Quit: WeeChat 1.9]
DTZUZU has joined #ruby
olivi____ has joined #ruby
jphase has joined #ruby
ElFerna has joined #ruby
uZiel has joined #ruby
guacamol_ has joined #ruby
kies has quit [Ping timeout: 248 seconds]
romankapitonov has joined #ruby
milardovich has joined #ruby
workmad3 has joined #ruby
ohnowendigo has joined #ruby
cagomez has joined #ruby
MrBusiness has joined #ruby
bonhoeffer has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
moeabdol1 has joined #ruby
AnoHito has joined #ruby
dmtd has quit [Quit: Connection closed for inactivity]
moeabdol has quit [Ping timeout: 276 seconds]
Beams has quit [Ping timeout: 246 seconds]
milardovich has quit [Remote host closed the connection]
AnoHito_ has quit [Ping timeout: 268 seconds]
milardovich has joined #ruby
bonhoeffer has quit [Ping timeout: 248 seconds]
ElFerna has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
Cohedrin_ has joined #ruby
Luyt has joined #ruby
nb_bez_______ has joined #ruby
sneakerhax has joined #ruby
lxsameer has joined #ruby
pabloh has quit [Quit: Leaving]
Immune has joined #ruby
Rapture has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GodFather has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rapture has joined #ruby
kies has joined #ruby
knight33 has joined #ruby
Beams has joined #ruby
Beams has quit [Client Quit]
ElFerna has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
slima_ is now known as slima
cdg_ has quit [Remote host closed the connection]
DTZUZU has quit [Quit: WeeChat 1.9]
DTZUZU has joined #ruby
someuser has joined #ruby
ElFerna has quit [Ping timeout: 268 seconds]
quobo has joined #ruby
JBlazeCoder21 has joined #ruby
ElFerna has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
vuoto has quit [Remote host closed the connection]
milardovich has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
DTZUZO has quit [Quit: WeeChat 1.9]
JBlazeCoder21 has quit [Read error: Connection reset by peer]
JBlazeCo_ has joined #ruby
cahoots_ has joined #ruby
cahoots has quit [Ping timeout: 240 seconds]
ohnowendigo has quit [Remote host closed the connection]
dexter1 has joined #ruby
JBlazeCo_ has quit [Read error: Connection reset by peer]
dexter1 is now known as DTZUZO
JBlazeCoder21 has joined #ruby
marxarelli is now known as marxarelli|afk
DTZUZO has quit [Client Quit]
dexter_ has joined #ruby
dexter_ is now known as DTZUZO
HoierM has joined #ruby
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JBlazeCoder21 has quit [Read error: Connection reset by peer]
JBlazeCo_ has joined #ruby
c__ has joined #ruby
domgetter has joined #ruby
cdg has joined #ruby
JBlazeCoder21 has joined #ruby
JBlazeCo_ has quit [Ping timeout: 258 seconds]
moeabdol1 has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
JBlazeCoder21 has quit [Read error: Connection reset by peer]
JBlazeCoder21 has joined #ruby
synthroi_ has quit []
milardovich has quit [Ping timeout: 240 seconds]
psmolen has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 260 seconds]
cahoots_ has quit [Ping timeout: 255 seconds]
eckhardt has joined #ruby
psmolen has quit [Quit: bai]
JBlazeCo_ has quit [Ping timeout: 240 seconds]
anisha has quit [Quit: This computer has gone to sleep]
psmolen has joined #ruby
psmolen has quit [Client Quit]
psmolen has joined #ruby
Beams has joined #ruby
rubycoder37 has joined #ruby
JBlazeCoder21 has joined #ruby
__Yiota has joined #ruby
Beams_ has joined #ruby
Beams has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
cagomez has quit [Remote host closed the connection]
Cohedrin_ has quit [Read error: Connection reset by peer]
bronson has joined #ruby
mim1k has joined #ruby
cdg has quit [Remote host closed the connection]
Cohedrin_ has joined #ruby
<rubycoder37> I have this code that is part of my CSV importer, any suggestions about what I can improve in the code? https://gist.github.com/anonymous/903e4b74380f183adc4b769ea3dc44b7
ldnunes has quit [Quit: Leaving]
JBlazeCoder21 has quit [Ping timeout: 248 seconds]
JBlazeCo_ has joined #ruby
<rubycoder37> I really hate the if/else checks in #process_row and I also dislike the .blank | checks in no_time_data? but I don't know how to write that better
Dreamer3_ has quit [Remote host closed the connection]
<zenspider> so much hate...
Dreamer3_ has joined #ruby
cagomez has joined #ruby
<zenspider> rubycoder37: don't EVER rescue Exception
<zenspider> rescue what you need
mim1k has quit [Ping timeout: 276 seconds]
bronson has quit [Ping timeout: 276 seconds]
<rubycoder37> zenspider: ok
Dreamer3_ has quit [Client Quit]
JBlazeCo_ has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
cagomez has quit [Remote host closed the connection]
jphase has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
<zenspider> passing around this params thing left and right is a hint that your design needs some help. not very OO
<rubycoder37> yes
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
juand has joined #ruby
<zenspider> plujon: what are you trying to do?
ElFerna has quit [Ping timeout: 255 seconds]
_sfiguser has joined #ruby
<rubycoder37> thanks
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
enterprisey has joined #ruby
<SeepingN> I found the problem with rescuing very specific things, is when those libraries update and improve(?) the way they do push up exceptions, your code can break if it doesn't already look for these new exception types
ta_ has quit [Read error: Connection reset by peer]
<SeepingN> (much pain going from 1.8.6 to 2.x, along with the updated gems for ssh/sftp)
<rubycoder37> can you tell me why rescue Exception is a bad idea?
<SeepingN> too generic. may catch issues outside of what you had in mind
<apeiros> rubycoder37: also rescues stuff like Interrupt (triggered by ctrl-C) and NoMemoryError (might be named differently)
__Yiota has joined #ruby
<rubycoder37> I see, thank you
JBlazeCo_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 260 seconds]
<apeiros> the maximum common exception to rescue is StandardError. that's also the maximum top-level to inherit from. don't inherit from Exception directly for custom exceptions.
<SeepingN> and your rescue appears to just retry Membership.new. What if that's what crashed just before that?
juand has left #ruby [#ruby]
ta_ has joined #ruby
ElFerna has joined #ruby
<SeepingN> hmm I didn't realize rescue could be part of a def. I've always put a "begin"
<rubycoder37> good point
<apeiros> I think as of 2.5 you can even have one in a block iirc
<apeiros> *will be able to
enterprisey has quit [Remote host closed the connection]
JBlazeCoder21 has joined #ruby
sarmiena_ has quit [Quit: sarmiena_]
JBlazeCo_ has quit [Ping timeout: 255 seconds]
wilbert has quit [Ping timeout: 268 seconds]
enterprisey has joined #ruby
guacamol_ has quit [Ping timeout: 276 seconds]
Dreamer3_ has joined #ruby
olivi____ has quit [Remote host closed the connection]
JBlazeCoder21 has quit [Ping timeout: 248 seconds]
JBlazeCo_ has joined #ruby
banisterfiend has joined #ruby
Beams_ has quit [Quit: .]
cahoots has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
[Butch] has quit [Quit: I'm out . . .]
CoreyW has joined #ruby
JBlazeCo_ has quit [Ping timeout: 240 seconds]
JBlazeCoder21 has joined #ruby
brent__ has quit []
brent__ has joined #ruby
<CoreyW> any ideas of how i could call an XMLRPC server within context of a capistrano/mina task?
ltem has quit [Quit: Leaving]
ahrs has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
runescape07rsps has quit [Read error: Connection reset by peer]
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has joined #ruby
Dreamer3_ has quit [Quit: Computer has gone to sleep.]
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
ta__ has joined #ruby
JBlazeCoder21 has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
JBlazeCoder21 has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Ping timeout: 255 seconds]
sepp2k has quit [Ping timeout: 255 seconds]
weaksauce has joined #ruby
Cohedrin_ has quit [Read error: Connection reset by peer]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
phate408 has quit [Remote host closed the connection]
FahmeF has joined #ruby
phate408 has joined #ruby
jamal7 has joined #ruby
JBlazeCoder21 has joined #ruby
ahrs has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jamal7 has quit [Quit: Textual IRC Client: www.textualapp.com]
Cohedrin_ has joined #ruby
jphase has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 268 seconds]
JBlazeCoder21 has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jrz has joined #ruby
marxarelli|afk is now known as marxarelli
nb_bez_______ has quit [Quit: Connection closed for inactivity]
eckhardt has joined #ruby
pwned has quit [Ping timeout: 255 seconds]
JBlazeCoder21 has quit [Ping timeout: 248 seconds]
JBlazeCoder21 has joined #ruby
Cohedrin_ has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
JBlazeCo_ has joined #ruby
Cohedrin_ has joined #ruby
JBlazeCoder21 has quit [Ping timeout: 240 seconds]
enterprisey has quit [Remote host closed the connection]
JBlazeCo_ has quit [Ping timeout: 276 seconds]
JBlazeCoder21 has joined #ruby
ar1a has joined #ruby
konsolebox has quit [Ping timeout: 255 seconds]
skinnymg1 has joined #ruby
Cohedrin_ has quit [Read error: Connection reset by peer]
TomyLobo2 has quit [Ping timeout: 255 seconds]
<plujon> zenspider: I want to put the code for a web app in a common namespace (i.e. module) so that I can put another web app in the same process without name collision. I also want to make some methods callable from anywhere in the namespace (i.e. module, or any class therein).
b3ck has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
<plujon> Mainly, I think I have yet to well understand the ruby-way of names, scope, and lookup.
polishdub has quit [Quit: leaving]
Cohedrin_ has joined #ruby
b3ck_ has quit [Ping timeout: 268 seconds]
Cohedrin_ has quit [Read error: Connection reset by peer]
konsolebox has joined #ruby
knight33 has joined #ruby
MissionCritical has quit [Excess Flood]
knight33 has quit [Client Quit]
romankapitonov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
helpa-bot has joined #ruby
postmodern has quit [Remote host closed the connection]
code_zombie has quit [Remote host closed the connection]
watersoul has joined #ruby
CoreyW has left #ruby [#ruby]
cahoots_ has joined #ruby
cahoots has quit [Ping timeout: 255 seconds]
olivi____ has joined #ruby
nowhereman_ has joined #ruby
rgr has quit [Remote host closed the connection]
segy has quit [Excess Flood]
synstack has quit [Excess Flood]
watersoul_ has quit [Write error: Broken pipe]
synstack has joined #ruby
Miron has quit [Excess Flood]
synstack has joined #ruby
c__ has quit [Remote host closed the connection]
synstack has quit [Changing host]
unreal has quit [Read error: Connection reset by peer]
jericon has quit [Write error: Broken pipe]
abort has quit [Write error: Broken pipe]
ozzloy has quit [Write error: Broken pipe]
helpa has quit [Write error: Broken pipe]
bhaak_ has joined #ruby
segy has joined #ruby
Nightmare has quit [Excess Flood]
SeepingN has quit [Excess Flood]
gaurav has quit [Write error: Connection reset by peer]
ramfjord_ has joined #ruby
reaVer_ has joined #ruby
rgs_ has joined #ruby
chrisarc1nd has joined #ruby
VladGh_ has joined #ruby
crankhar1er has joined #ruby
ytti has quit [Write error: Broken pipe]
hinbody has quit [Write error: Broken pipe]
uxp has joined #ruby
chihhsin_ has joined #ruby
TvL2386_ has joined #ruby
Freijo has joined #ruby
quuxman has quit [Remote host closed the connection]
nowhere_man has quit [Remote host closed the connection]
weaksauce has quit [Excess Flood]
havenwood has quit [Excess Flood]
Miron has joined #ruby
ineb1 has joined #ruby
hinbody has joined #ruby
unreal_ has joined #ruby
Lyfe_ has joined #ruby
quuxman_ has joined #ruby
guacamol1 has joined #ruby
ccooke_ has joined #ruby
lucas_ has joined #ruby
karlding_ has joined #ruby
gaurav_ has joined #ruby
ltd has joined #ruby
tunaBee__ has joined #ruby
ltp_ has joined #ruby
gse has joined #ruby
G_ has joined #ruby
shmoon_ has joined #ruby
jdeen_ has joined #ruby
ptx0_ has joined #ruby
dioxylin_alterna has joined #ruby
kaspergr1bbe has joined #ruby
daed has quit [Write error: Broken pipe]
chrisarcand has quit [Write error: Broken pipe]
lucas has quit [Write error: Broken pipe]
ccooke has quit [Write error: Broken pipe]
dioxylin has quit [Write error: Broken pipe]
guacamole has quit [Write error: Broken pipe]
ramfjord has quit [Write error: Broken pipe]
crankharder has quit [Write error: Broken pipe]
rgs has quit [Write error: Broken pipe]
reaVer has quit [Write error: Broken pipe]
mesamoo has quit [Write error: Broken pipe]
Axy has quit [Excess Flood]
Jrz has quit [Excess Flood]
<plujon> For example, I have a method named 'pretty_time' that takes a time and returns a humanized relative-to-now string for it. Where should I stick this method? Do I need to create a class for it? Should I monkey patch Time? I wouldn't, if I could simply do "#{pretty_time(t)}" wherever I wanted.
brendan- has quit [Excess Flood]
Keltia has quit [Write error: Broken pipe]
G has quit [Write error: Broken pipe]
Lyfe has quit [Write error: Broken pipe]
ltd_ has quit [Write error: Broken pipe]
empty_cu1 has quit [Write error: Broken pipe]
ericmath1son has quit [Write error: Broken pipe]
shmoon has quit [Write error: Broken pipe]
nopacienc3 has quit [Write error: Broken pipe]
Fraeon has quit [Write error: Broken pipe]
DEac- has quit [Write error: Broken pipe]
skinnymg1 has quit [Quit: Leaving]
sunrunner20 has quit [Excess Flood]
ineb has quit [Remote host closed the connection]
chihhsin has quit [Remote host closed the connection]
mnemon has quit [Remote host closed the connection]
ptx0 has quit [Remote host closed the connection]
ltp has quit [Remote host closed the connection]
rprimus has quit [Remote host closed the connection]
snapcase has quit [Remote host closed the connection]
Sp4rKy has quit [Remote host closed the connection]
uxp_ has quit [Remote host closed the connection]
kaizoku has quit [Remote host closed the connection]
gse_ has quit [Remote host closed the connection]
kaspergrubbe has quit [Remote host closed the connection]
kaizoku_ has joined #ruby
snapcase has joined #ruby
mnemon has joined #ruby
Nightmare has joined #ruby
Axy has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
rt has quit [Excess Flood]
Jrz has joined #ruby
jdeen has quit [Write error: Broken pipe]
karlding has quit [Write error: Broken pipe]
VladGh has quit [Write error: Broken pipe]
TvL2386 has quit [Write error: Broken pipe]
friday has quit [Excess Flood]
sneakerhax has quit [Max SendQ exceeded]
MrSparkle has quit [Remote host closed the connection]
bhaak has quit [Remote host closed the connection]
Guest71446 has quit [Remote host closed the connection]
tunaBee has quit [Remote host closed the connection]
SuperLag has quit [Remote host closed the connection]
sunrunner20 has joined #ruby
ElFerna has quit [Ping timeout: 264 seconds]
mesamoo has joined #ruby
SeepingN has joined #ruby
friday has joined #ruby
abort has joined #ruby
helpa-bot has quit [Remote host closed the connection]
nopacienc3 has joined #ruby
helpa has joined #ruby
aef has quit [Remote host closed the connection]
aef has joined #ruby
perniciouscaffei has quit [Ping timeout: 247 seconds]
valkyr2e has quit [Ping timeout: 247 seconds]
diegok has quit [Ping timeout: 247 seconds]
bokayio has quit [Ping timeout: 247 seconds]
dyyylan has quit [Ping timeout: 247 seconds]
havenwood has joined #ruby
havenwood has joined #ruby
olivi____ has quit [Ping timeout: 240 seconds]
nekomune has quit [Ping timeout: 269 seconds]
d^sh has quit [Ping timeout: 269 seconds]
kiltzman has quit [Ping timeout: 269 seconds]
quiller has quit [Ping timeout: 269 seconds]
jidar has quit [Ping timeout: 269 seconds]
jidar has joined #ruby
kiltzman has joined #ruby
diegok has joined #ruby
rt has joined #ruby
brendan- has joined #ruby
dyyylan has joined #ruby
bokayio has joined #ruby
ytti has joined #ruby
ozzloy has joined #ruby
ozzloy has joined #ruby
ozzloy has quit [Changing host]
jericon has joined #ruby
MrSparkle has joined #ruby
valkyr2e has joined #ruby
quiller has joined #ruby
Sp4rKy has joined #ruby
d^sh has joined #ruby
Sp4rKy is now known as Guest59382
bhaak_ is now known as bhaak
daed has joined #ruby
Keltia has joined #ruby
MissionCritical has joined #ruby
ericmathison has joined #ruby
DEac- has joined #ruby
SuperLag has joined #ruby
empty_cup has joined #ruby
rprimus has joined #ruby
rprimus is now known as Guest98725
nekomune has joined #ruby
cahoots_ has quit [Ping timeout: 248 seconds]
planigan has quit [Remote host closed the connection]
eljimmy has quit [Quit: This computer has gone to sleep]
<biox> Hello rubyists! I'm struggling to come up with a data transform solution currently. Detail here: https://hastebin.com/xahohoboci.rb
planigan has joined #ruby
<biox> More or less I'm bad at thinking about how to associate the data to its' job. I always tend to fall back on map/each loops, and I think that's limiting me.
sylario has quit [Quit: Connection closed for inactivity]
QualityAddict has joined #ruby
chg has quit [Ping timeout: 246 seconds]
<Papierkorb> biox: That looks like a job for Enumerable#group_by followed by a #map
<Papierkorb> And then somewhere a `puts result.to_yaml`
<Papierkorb> ... If that's supposed to be yaml
<biox> it's not, just sorta pretty output.
chg has joined #ruby
<biox> But I will look into group_by now. It sounds like I'd need to split my initial strings into arrays and group them by [0] or something?
<Papierkorb> sounds like a possible solution. there are a few in any case
<biox> Alright, I'll hack something together, group_by seems to be what I was searching for, but I had no idea how to word it
eljimmy has joined #ruby
fr33domlover has joined #ruby
<fr33domlover> Hello
ramfjord_ has quit [Ping timeout: 248 seconds]
alex`` has quit [Quit: WeeChat 1.9]
eljimmy has quit [Client Quit]
eljimmy has joined #ruby
<fr33domlover> There's no SASS channel so asking here: Given a (non partial) sass file, how do I make a list of all the files it depends on? The naive method is to go over the imports recursively - is the correct or are there tricks to be aware of?
<Papierkorb> No idea about sass, but as far dependency list building is concerned, that's pretty much the way to go. One optimization would be not rediscovering a dependency you've already seen, if applicable. And watching out for circular dependencies.
<Papierkorb> Maybe #RubyOnRails knows something more specific fr33domlover
x0f has quit [Ping timeout: 240 seconds]
olivi____ has joined #ruby
Jrz has quit [Quit: Computer has gone to sleep.]
<fr33domlover> Papierkorb thanks
<nacsurte> is it possible to do a switch statement on hash keys? ala if key is present in hash, do this
AndroUser2 has joined #ruby
ramfjord has joined #ruby
olivi____ has quit [Ping timeout: 240 seconds]
x0f has joined #ruby
<eelster> nacsurte I don't believe so. You can check if a key is in a hash by using the #key? method.
fr33domlover has left #ruby [#ruby]
cahoots has joined #ruby
mim1k has joined #ruby
ElFerna has joined #ruby
bronson has joined #ruby
rgr has joined #ruby
marxarelli is now known as marxarelli|afk
SteenJobs_ has joined #ruby
mim1k has quit [Ping timeout: 276 seconds]
bronson has quit [Ping timeout: 255 seconds]
alex`` has joined #ruby
oliv_____ has joined #ruby
SteenJobs_ has quit [Client Quit]
alex`` has quit [Client Quit]
ElFerna has quit [Ping timeout: 273 seconds]
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
dionysus70 is now known as dionysus69
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
oliv_____ has quit [Ping timeout: 260 seconds]
lxsameer has quit [Quit: WeeChat 1.7]
JBlazeCoder21 has quit [Ping timeout: 255 seconds]
sneakerhax has joined #ruby
FahmeF has quit [Remote host closed the connection]
AndroUser2 has quit [Ping timeout: 260 seconds]
cagomez has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
ol_______ has joined #ruby
<plujon> I think my scoping question boils down to: Array.wrap vs array_wrap.
o________ has joined #ruby
wald0 has quit [Quit: Lost terminal]
ol_______ has quit [Ping timeout: 240 seconds]
Azure has joined #ruby
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
JBlazeCoder21 has joined #ruby
sarmiena_ has joined #ruby
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
JBlazeCoder21 has quit [Read error: Connection reset by peer]
herbmillerjr has joined #ruby
JBlazeCoder21 has joined #ruby
Guest59382 is now known as Sp4rKy
Sp4rKy is now known as Guest3135
<plujon> Is Array "global" because (1) Object.constants contains [..., Array, ...], (2), most (all?) ruby objects are instances of a Class, (3) most (all except BasicObject?) Class objects are subclasses of Object?
sarmiena_ has quit [Quit: sarmiena_]
<Papierkorb> Array is globally accessible cause it's a constant in Object, and as everything [citation needed] is an Object, everything has it in its lookup chain
<Papierkorb> Well, not everything. Wouldn't be ruby if there wasn't an exception, eh? :P
<arahael> So, to answer the question, it is 1, 2, and 3.
_sfiguser has quit [Remote host closed the connection]
* arahael did well at school tests.
o________ has quit [Remote host closed the connection]
ledestin has joined #ruby
<Papierkorb> plujon: Try this in pry or irb: `module Foo; module Bar; class Baz; end; end; end` Now, check the ancestor chain: `Foo::Bar::Baz.ancestors`. When ruby needs to find something, it'll start to look in the ancestor chain. First the first item. If it knows an `Array`, it'll be used. Then, the next one ist tried. etc.
olivi____ has joined #ruby
<Papierkorb> (More or less)
<plujon> Is the lookup chain: obj.methods, then, obj.class.ancestors.each { |x| x.instance_methods } ?
<barx> how long can symbols be?
<plujon> It is interesting that ancestors include modules and not just superclasses.
<Papierkorb> plujon: err, yeah that was the lookup chain for methods. Silly me.
<Papierkorb> plujon: The lookup chain for constants, after that chain, is then descending modules, until it hits the top level. If still not found, it doesn't exist.
olivi____ has quit [Remote host closed the connection]
<plujon> Interesting.
oliv_____ has joined #ruby
<Papierkorb> plujon: As far those look up chains are concerned, there's no real difference between a class and a module. In fact, `Class.is_a? Module`.