apeiros changed the topic of #ruby to: Ruby 2.1.0-p0; 2.0.0-p353; 1.9.3-p484: http://ruby-lang.org|| Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<shevy> ellbot upload the codespec to a pastie ?
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> I mean .gemspec
<shevy> benzrf wat
sivoais has quit [Read error: Connection reset by peer]
<shevy> just write the code benzrf then you will instantly see if it is pretty or ugly
<shevy> and if it is ugly, don't use it!
<benzrf> ~_~
Cooler_ has joined #ruby
<txdv> ruby programmers
<txdv> "if it looks pretty, it is good code"
Zhwazi- is now known as Zhwazi
Zhwazi has quit [Changing host]
Zhwazi has joined #ruby
timonv has joined #ruby
<shevy> txdv it's true
platzhirsch has joined #ruby
* platzhirsch bells
<atal421> anyone know the name of the gem that tells you which files have been updated the most frequently?
bigbadbear has joined #ruby
jmo has quit [Ping timeout: 272 seconds]
timonv has quit [Ping timeout: 260 seconds]
kotk has joined #ruby
<shevy> no idea
brtdv has joined #ruby
tylersmith has joined #ruby
<platzhirsch> atal421: updated in what sense?
<platzhirsch> accessed, modified?
ahawkins_ has joined #ruby
zigomir has joined #ruby
mjburgess` has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ellbot has quit []
<atal421> platzhirsch: i'm not completely sure. i think it's about update frequency as indicated by the git log
shedd has joined #ruby
<atal421> platzhirsch: i think someone in the rubyonrails room got it: https://github.com/danmayer/churn
ahawkins_ has quit [Ping timeout: 260 seconds]
pwh has joined #ruby
mjburgess has quit [Ping timeout: 264 seconds]
<platzhirsch> atal421: ah okay, never heard of that
Barrin6 has quit [Quit: Leaving]
nisstyre has joined #ruby
drumusician has quit [Ping timeout: 272 seconds]
petey has quit [Remote host closed the connection]
petey has joined #ruby
shedd has quit [Ping timeout: 272 seconds]
kiba` is now known as kiba
wjimenez5271 has quit [Ping timeout: 252 seconds]
petey has quit [Ping timeout: 260 seconds]
Bira has quit []
pzula has quit [Ping timeout: 264 seconds]
jamesaanderson has joined #ruby
coca_rails has quit [Remote host closed the connection]
zxd has joined #ruby
jameshyde has quit [Quit: Leaving.]
psyton has joined #ruby
flubba has joined #ruby
mzemel has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
blooberr_ has joined #ruby
mzemel has joined #ruby
zxd has quit [Ping timeout: 272 seconds]
pwh has quit []
shime has quit [Ping timeout: 260 seconds]
G has quit [Quit: leaving]
otherj has joined #ruby
bigbadbear has quit [Ping timeout: 252 seconds]
ip`` has quit [Ping timeout: 252 seconds]
sivoais has joined #ruby
threesome has quit [Ping timeout: 272 seconds]
pzula has joined #ruby
psyton has left #ruby [#ruby]
bigbadbear has joined #ruby
mehlah has quit [Ping timeout: 272 seconds]
ringaroses has quit [Ping timeout: 260 seconds]
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
aspires has quit []
aspires has joined #ruby
petey has joined #ruby
kotk has quit [Read error: Connection reset by peer]
petey has quit [Remote host closed the connection]
kotk has joined #ruby
horofox_ has quit [Quit: horofox_]
petey has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ner0x has joined #ruby
mneorr has quit [Ping timeout: 272 seconds]
rickruby has joined #ruby
skulker has joined #ruby
flubba has quit [Remote host closed the connection]
predator217 has joined #ruby
mattk has joined #ruby
rickruby has quit [Remote host closed the connection]
jameshyde has joined #ruby
zcreative has joined #ruby
brtdv has quit []
ando has joined #ruby
yasushi has joined #ruby
predator117 has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
Megtastique has quit []
pushpak has quit [Quit: Linkinus - http://linkinus.com]
pzula has quit [Ping timeout: 260 seconds]
mneorr has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
Mars has joined #ruby
Mars is now known as Guest85428
byprdct has joined #ruby
Monie has quit [Remote host closed the connection]
otherj has quit []
robustus has quit [Ping timeout: 245 seconds]
petey has quit [Ping timeout: 246 seconds]
benzrf has left #ruby [#ruby]
robustus has joined #ruby
Megtastique has joined #ruby
pzula has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
coffeina has joined #ruby
ehaliewicz has joined #ruby
mattk has quit [Ping timeout: 272 seconds]
VTLob has quit [Quit: VTLob]
klaut has quit [Remote host closed the connection]
specious_ has quit [Ping timeout: 245 seconds]
mjburgess` is now known as mjburgess
psyl0n has quit [Remote host closed the connection]
ahawkins_ has joined #ruby
ephemerian has quit [Quit: Leaving.]
petey has joined #ruby
dapz has joined #ruby
specious_ has joined #ruby
Megtastique has quit []
Guest85428 has quit [Remote host closed the connection]
aryaching has quit []
blackmesa has joined #ruby
postmodern has quit [Quit: Leaving]
atal421 has quit [Quit: atal421]
postmodern has joined #ruby
shedd has joined #ruby
coffeina has quit [Quit: Wychodzi]
ahawkins_ has quit [Ping timeout: 252 seconds]
marr has quit [Ping timeout: 246 seconds]
rickruby has joined #ruby
<shevy> %( data-#{k}="#{v}")
<shevy> what is this?
fedesilv_ has joined #ruby
<matti> A mistake? ;]
Bumptiou_ has quit [Remote host closed the connection]
kayloos has joined #ruby
Bumptious has joined #ruby
<shevy> it's code from someone else, so most likely
<shevy> but I never saw this:
<shevy> %( )
<shevy> so far
jameshyde has quit [Quit: Leaving.]
<txdv> what does it do
shedd has quit [Ping timeout: 272 seconds]
<shevy> it seems to interpolate variables into the string
<shevy> but I dont understand
<shevy> he could use "" instead?
fedesilva has quit [Ping timeout: 245 seconds]
<txdv> where would be the fun in that
<txdv> maybe you don't need to ommit escape stuff in that
aspires has quit []
<txdv> he uses "" without escaping it
<txdv> instead he needs to escape ) now
<txdv> and (
Bumptious has quit [Ping timeout: 240 seconds]
<shevy> txdv oh
EngierkO has quit [Ping timeout: 246 seconds]
<shevy> txdv I think you are right
jameshyde has joined #ruby
kirun has quit [Quit: Client exiting]
<shevy> in other areas of his code he does this:
<shevy> @embed += %( frameborder="0" allowfullscreen></iframe>)
<shevy> which have the "". some kind of html-generator he did there
maletor has joined #ruby
toastynerd has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
alexherbo2 has joined #ruby
yasushi has quit [Remote host closed the connection]
kitak has joined #ruby
pzula has quit [Quit: leaving]
mary5030 has joined #ruby
mlpinit has joined #ruby
simoz12 has quit [Ping timeout: 252 seconds]
<txdv> my genius has never let me down
ando has quit [Ping timeout: 272 seconds]
zigomir has quit [Remote host closed the connection]
<shevy> hehe
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mjburgess has quit [Ping timeout: 264 seconds]
tectonic has quit []
_honning_ has quit [Ping timeout: 272 seconds]
agent_white has joined #ruby
agjacome has quit [Ping timeout: 252 seconds]
shedd has joined #ruby
jamesaanderson has joined #ruby
Megtastique has joined #ruby
mzemel has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mzemel has joined #ruby
gyre007 has joined #ruby
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
fractastical has joined #ruby
gr33n7007h has quit [Ping timeout: 252 seconds]
simoz12 has joined #ruby
petey has quit [Ping timeout: 272 seconds]
kitak has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 272 seconds]
gr33n7007h has joined #ruby
timonv has joined #ruby
kitak has joined #ruby
<RubyPanther> That is a traditional Rubyism but I prefer %Q||
phipes has joined #ruby
benzrf has joined #ruby
<benzrf> can anybody tell me how my code looks so far https://github.com/benzrf/legend
<benzrf> [project is just starting]
vlad_starkov has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 240 seconds]
aspires has joined #ruby
timonv has quit [Ping timeout: 265 seconds]
pwh has joined #ruby
<benzrf> oh wait thers a problem there
<benzrf> ugh
Brolen has quit [Quit: Brolen]
drumusician has joined #ruby
<RubyPanther> benzrf: Don't use singletons until you actually, really have to (almost never)
<benzrf> hmmm
<benzrf> I was going to use flyweight for inactive tiles
<benzrf> i.e. flooring
<benzrf> & i figured singleton was the way to go there
blarghmatey has joined #ruby
tylersmi_ has joined #ruby
<shevy> where are the directories!
<shevy> mkdir lib
<shevy> cd lib
<benzrf> pfft
<benzrf> who needs fancy directory structures
<benzrf> not this guy
<shevy> it's important for gem install name
<benzrf> B)
petey has joined #ruby
<RubyPanther> benzrf: You should break the directions out into another class instead of using symbols, that way it will be easier on somebody adding 8 direction support
<benzrf> RubyPanther: hmm, you sure?
<benzrf> I want to be able to use literals like that
<benzrf> its v convenient
<RubyPanther> Yes, of course I am sure.
<benzrf> shevy: then ill reorder it if I turn it into a gem
<benzrf> i will probably give up on it halfway through
<shevy> :(
<benzrf> @ which point reordering will have been a waste
pwh has quit [Ping timeout: 252 seconds]
<shevy> !!!
<benzrf> of time
tylersmith has quit [Ping timeout: 264 seconds]
DrShoggoth has quit [Quit: Leaving]
<benzrf> RubyPanther: what would using a new class do to help?
maletor has quit [Quit: Computer has gone to sleep.]
<RubyPanther> Because then directions would be abstract ducks, instead of hardcoded WTFs
pwh has joined #ruby
<shevy> heeh
<shevy> hardcoded WTFs
<shevy> did you know that you were doing hardcoded WTFs benzrf?
<shevy> benzrf you should also move the attr* calls right after the class definition
<benzrf> yeah?
<benzrf> i tend to put initialize first...
<shevy> yeah!
<shevy> but that is a method
<shevy> so you have one method, then the attrs, then other methods
<shevy> that confuses me!
<benzrf> mmm, ok
<shevy> ERROR: Error installing video-torrent-info:
<shevy> ERROR: Failed to build gem native extension.
<shevy> wow
<shevy> You'll need to rebuild Ruby with --enable-shared to use this library.
<shevy> :(
Guest70356 has joined #ruby
<RubyPanther> If you're adding support for an 8 direction joystick, you want your code to be a beautiful flock of ducks, or a bunch of sacks full of arbitrary C interns hiding behind strings (aka Symbols)
nisstyre has quit [Quit: Leaving]
<benzrf> but muh literals
nisstyre has joined #ruby
platzhirsch has quit [Ping timeout: 246 seconds]
<RubyPanther> shevy: why don't you have shared ruby libraries?
<shevy> RubyPanther hmmm
jmo has joined #ruby
<benzrf> so how does including a module differ at all from extending a class anyway?
<benzrf> the semantics seem nigh identical
<shevy> extending a class?
<shevy> if you include a module, you extend the class, or?
<benzrf> *subclassing
<benzrf> sorry, javaspeak
<shevy> yeah
ace_striker has joined #ruby
<shevy> that distinction is rather arbitrary in ruby
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has quit [Changing host]
ace_striker has joined #ruby
<benzrf> python has MI so you can do mixins with that, and it seems to work basically the same way
<RubyPanther> benzrf: Here is a bigger problem I see, you're testing the class of arguments instead of testing the interface. Instead of "when Positioned" you should be testing like, when other.respond_to?(:max_x) # or some other method that the array won't have
simoz12 has quit [Ping timeout: 272 seconds]
<benzrf> hmm
<RubyPanther> benzrf: The better way is to test the Array first with .respond_to?(:to_ary)
ahawkins_ has joined #ruby
<benzrf> oh hmm
<RubyPanther> Then after testing for the standard types, you can just assume it is a special type with the expected interface
<benzrf> it's ary and not array?
<benzrf> or arr
<RubyPanther> Right, having the method #to_ary implies that the object is considered a "real" array
<RubyPanther> Same for #to_str
mary5030 has quit [Remote host closed the connection]
guardian_c has joined #ruby
<benzrf> i know of this o:
<benzrf> any other suggestions?
<RubyPanther> to_ary gives you back the object converted to an array, so it has to already be an array. Whereas to_a is giving you a "representation" of the object as an array, not a conversion
ahawkins_ has quit [Read error: Operation timed out]
<benzrf> 09:13 < benzrf> i know of this o:
<RubyPanther> Then it all quacks and you can build a Dwemthy's Array type of game with it :)
<benzrf> ;p
skulker has quit [Remote host closed the connection]
<benzrf> i intend to mimic the feel of the top-down zeldas as close as I can
<benzrf> particularly the Oracle ones
brtdv has joined #ruby
<benzrf> my end goal is to be able to read zipped bundles of any of sprite or tile definitions, ascii-art maps, and spritesheets as 'games'
<benzrf> and play them as such
<benzrf> :)
asmodlol has joined #ruby
cbetta is now known as cbetta_afk
<benzrf> ive seen excellent romhacks, and I figured that it would be nice to have something like that which does not require fiddly bit flipping
meatherly has joined #ruby
klaut has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
<shevy> hey
<shevy> you'll give up soon
<benzrf> yup!
<benzrf> but maybe i can find somebody to shove it onto and get a little farther
<benzrf> and convince them to pass it on
<benzrf> ^_^
<benzrf> who knows!
<benzrf> i already have most of the higher-level architecture planned out in my head
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<benzrf> its just a matter of dumping it out into text files
kitak has quit [Ping timeout: 245 seconds]
<shevy> I am kinda scavenging now on rubygems
<shevy> for obsoleted or old projects no longer maintained
<shevy> try to rescue them rather than allow them to die
<RubyPanther> @bit.flip( rand(2) ) while not @bit.fiddly?
<shevy> oh a while loop!
mzdravkov has quit [Read error: Connection reset by peer]
<benzrf> hah
klaut has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby
kitak has joined #ruby
aspires has quit []
brtdv has quit []
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nemesit|znc has quit [Ping timeout: 245 seconds]
<shevy> RubyPanther people should go back to using flat files rather than sql
drumusician has quit [Ping timeout: 272 seconds]
joaoh82 has quit [Remote host closed the connection]
<shevy> I recompiled ruby
<shevy> ./configure --prefix=/Programs/Ruby1.9.3/p484/ --enable-shared
<lewix> ah?
<shevy> but I only have a libruby-static.a
<shevy> I dont understand
lyanchih_ has joined #ruby
<RubyPanther> shevy: did you remember to make install?
<shevy> hmm yeah
nemesit|znc has joined #ruby
<RubyPanther> did you check the configure output to see if it laughed at you, or complied?
Cooler_ has quit [Remote host closed the connection]
Cooler_ has joined #ruby
Brolen has joined #ruby
burlyscudd has quit [Quit: Leaving.]
_aeris_ is now known as [_aeris_]
kitak has quit [Ping timeout: 245 seconds]
gr33n7007h has quit [Ping timeout: 272 seconds]
burlyscudd has joined #ruby
nemesit|znc has quit [Ping timeout: 272 seconds]
Brolen has quit [Client Quit]
gr33n7007h has joined #ruby
ambushsabre has joined #ruby
<shevy> hmmm
Hanmac has joined #ruby
atal421 has joined #ruby
mansi has quit [Remote host closed the connection]
Hanmac1 has quit [Ping timeout: 265 seconds]
fixl has joined #ruby
mjburgess has joined #ruby
senayar has quit []
atal421 has quit [Quit: atal421]
pwh has quit []
<shevy> trying again
nemesit|znc has joined #ruby
shaker75 has joined #ruby
kure_ has joined #ruby
max96at has quit [Quit: Textual IRC Client: www.textualapp.com]
Barrin6 has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
kure has quit [Ping timeout: 246 seconds]
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ando has joined #ruby
horofox_ has joined #ruby
yasushi has joined #ruby
horofox_ has quit [Client Quit]
Zesty has joined #ruby
Asher has quit [Quit: Leaving.]
burlyscudd has quit [Quit: Leaving.]
f0ster has quit [Ping timeout: 240 seconds]
eka has quit [Quit: Computer has gone to sleep.]
EngierkO has joined #ruby
joaoh82 has joined #ruby
lnemo has joined #ruby
<shevy> now I have a libruby.so
dostoyevsky has joined #ruby
<dostoyevsky> The ruby accessor for kyoto cabinet seems to be retarded... it won't let you do ^C while you are iterating over the keys in the database, even if that may take hours to complete... The only way to exit the program somewhat orderly is to create a file called "stop" and then call exit! inside the iteration loop... It will ignore return or raise inside the loop...
lukec has quit [Quit: lukec]
Zesty has quit [Quit: Linkinus - http://linkinus.com]
w4pm has joined #ruby
hiall has quit [Quit: hiall]
jamesaanderson has joined #ruby
joaoh82 has quit [Ping timeout: 260 seconds]
<shevy> time to write a replacement dostoyevsky ;)
atal421 has joined #ruby
Brolen has joined #ruby
jamesaanderson has quit [Client Quit]
Brolen has quit [Client Quit]
mojjojo has joined #ruby
hiall has joined #ruby
mneorr has quit [Remote host closed the connection]
mojjojo has quit [Client Quit]
lukec has joined #ruby
mneorr has joined #ruby
gyre007 has quit [Remote host closed the connection]
jmo has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
lewix has quit [Remote host closed the connection]
pierre1 has joined #ruby
lewix has joined #ruby
Nilium has quit [Ping timeout: 246 seconds]
lukec has quit [Quit: lukec]
ahawkins_ has joined #ruby
Kidron has joined #ruby
Nilium has joined #ruby
Guest70356 has quit [Quit: Guest70356]
ahawkins_ has quit [Ping timeout: 272 seconds]
arclitgold has joined #ruby
macuser has joined #ruby
macuser is now known as Guest58713
ambushsabre has quit [Quit: rip]
ambushsabre has joined #ruby
mary5030 has joined #ruby
Wolland has quit [Remote host closed the connection]
fedesilv_ has quit [Remote host closed the connection]
benzrf has left #ruby [#ruby]
mary5030 has quit [Ping timeout: 272 seconds]
nfk has quit [Quit: yawn]
mjburgess has left #ruby [#ruby]
cycorld has quit [Remote host closed the connection]
zzak has quit [Quit: leaving]
zzak_ is now known as zzak
Wolland has joined #ruby
petey has quit [Remote host closed the connection]
LexicalScope has joined #ruby
LexicalScope` has joined #ruby
w4pm has quit [Ping timeout: 272 seconds]
petey has joined #ruby
<pontiki> we need a new dostoyevsky ?
Bumptious has joined #ruby
Kidron has quit [Quit: Kidron]
AlSquire has quit [Quit: This computer has gone to sleep]
lioninawhat2 has joined #ruby
atal421 has quit [Quit: atal421]
petey has quit [Ping timeout: 272 seconds]
bigbadbear has quit [Ping timeout: 245 seconds]
yasushi has quit [Remote host closed the connection]
butblack has quit [Quit: butblack]
timonv has joined #ruby
butblack has joined #ruby
brennanMKE has joined #ruby
brennanMKE has quit [Remote host closed the connection]
brennanMKE has joined #ruby
lioninawhat2 is now known as lioninawhat
ando has quit [Ping timeout: 260 seconds]
dapz has quit [Ping timeout: 272 seconds]
timonv has quit [Ping timeout: 272 seconds]
LexicalScope` has quit [Ping timeout: 260 seconds]
asteve has joined #ruby
asteve has quit [Max SendQ exceeded]
LexicalScope has quit [Ping timeout: 260 seconds]
sheap has joined #ruby
asteve has joined #ruby
asteve has quit [Changing host]
asteve has joined #ruby
dogweather has joined #ruby
jmimi has quit [Quit: Leaving.]
maroloccio has quit [Quit: WeeChat 0.4.2]
atal421 has joined #ruby
radic has quit [Ping timeout: 272 seconds]
radic has joined #ruby
Barrin6 has quit [Quit: Leaving]
atal421 has quit [Client Quit]
grep_away is now known as grep_awesome
joaoh82 has joined #ruby
ehaliewicz has quit [Ping timeout: 272 seconds]
fractastical has quit [Quit: fractastical]
skulker has joined #ruby
mneorr has quit [Remote host closed the connection]
rickruby has quit [Remote host closed the connection]
gquental has quit [Ping timeout: 245 seconds]
mneorr has joined #ruby
joaoh82 has quit [Ping timeout: 264 seconds]
yasushi has joined #ruby
mneorr has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
braincrash has quit [Quit: bye bye]
bigbadbear has joined #ruby
blarghmatey has quit [Ping timeout: 272 seconds]
braincrash has joined #ruby
kitak has joined #ruby
grep_awesome is now known as grep_away
skulker has quit [Ping timeout: 272 seconds]
skulker_ has joined #ruby
Xaitec has joined #ruby
mneorr has quit [Ping timeout: 272 seconds]
Xaitec has quit [Remote host closed the connection]
Xaitec has joined #ruby
Xaitec has quit [Client Quit]
Brolen has joined #ruby
skulker_ has quit [Read error: Connection reset by peer]
skulker has joined #ruby
ahawkins_ has joined #ruby
<RubyPanther> Yeah the old one had a broken cabinet, no good
yasushi has quit [Remote host closed the connection]
ahawkins_ has quit [Read error: Operation timed out]
Brolen has quit [Quit: Brolen]
JuanDaugherty has quit [Ping timeout: 272 seconds]
gquental has joined #ruby
skulker has quit [Ping timeout: 245 seconds]
Guest58713 is now known as NICK____
skulker has joined #ruby
fractastical has joined #ruby
NICK____ is now known as gilcosson
smathieu has joined #ruby
caldwell has quit [Remote host closed the connection]
postmodern has quit [Ping timeout: 240 seconds]
jandris has joined #ruby
skulker_ has joined #ruby
skulker has quit [Ping timeout: 272 seconds]
ambushsabre has quit [Quit: rip]
Brolen has joined #ruby
nobitanobi has joined #ruby
w4pm has joined #ruby
skulker_ has quit [Ping timeout: 246 seconds]
nannes has joined #ruby
<nannes> Hey
<nannes> Big problem with "thin" ruby webserver
dima_ has joined #ruby
skulker has joined #ruby
<nannes> After I launch "bundle exec thin start" the program starts sending output to the user's console.
<nannes> Even if I use `&` I get those messages
<nannes> THe problem is: When I quit the ssh session with "exit", suddenly the webserver stops too, for some reason
rickruby has joined #ruby
skulker has quit [Ping timeout: 252 seconds]
fijimunkii has quit [Ping timeout: 260 seconds]
<nannes> Is there a gem parameter that allows me to launch programs in the background?
mneorr has joined #ruby
grep_away is now known as grep_awesome
smathieu has quit [Remote host closed the connection]
aspires has joined #ruby
smathieu has joined #ruby
ace_striker has quit [Ping timeout: 272 seconds]
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has joined #ruby
<kure_> To suppress all messages you could do `&>/dev/null`, but to keep running even after `exit`... idk
<nannes> Big problem with "thin" ruby webserver... After I launch "bundle exec thin start" I cannot "exit" the ssh session, otherwise the webserver stops running :S
<nannes> The program starts sending output to the user's console. Even using `&` changes just nothing. Any help? Is there a gem parameter that allows me to launch programs in the background?
<nannes> kure_: ok thx
mneorr has quit [Ping timeout: 264 seconds]
smathieu has quit [Ping timeout: 264 seconds]
<nannes> kure_: Does exist any manual for the ruby gems installed? If yes, then how can I get it?
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<kure_> I dont know... Closest I've heard is gem-man http://rubygems.org/gems/gem-man
<kure_> I always look for the documentation online anyways :/
dima_ has quit [Remote host closed the connection]
emocakes has joined #ruby
aspires has quit []
<rdevilla> If methods that mutate the state of an object in Ruby should be suffixed with '!', why does Array#push not have a bang?
<bnagy> nannes: this sounds like a unix problem, not a thin problem
<kure_> rdevilla, that's a nice question
<bnagy> rdevilla: ! methods are not 'changes object state', it just means 'be careful'
<kure_> Yeah, but you'd expect Array#push to return a copy with the new element inserted
<bnagy> push is a pretty obvious method, so it doesn't get a !
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bnagy> nobody would expect that
<kure_> :/
<rdevilla> bnagy: on the contrary, take a look at some functional languages
<rdevilla> where there really is no such thing as an in-place update
grep_awesome is now known as grep_away
<bnagy> that have push?
<bnagy> :)
<nannes> Gnubie__: You were wrong.
<rdevilla> bnagy: they return a new list/array/collection/what have you with the value appended
<nannes> I casually found this http://manpages.ubuntu.com/manpages/lucid/man1/thin.1.html and tried the bundle exec thin start with the option `-d` at the end. It worked
<nannes> Nice :)
<nannes> (Nice that worked, but SUCKS that there's no documentation at all about this issue
<bnagy> rdevilla: yeah well ruby has mutable objects, soo.. comparisons with lisp or whatever aren't really going to help you understand it
sheap has left #ruby [#ruby]
<rdevilla> bnagy: I am simply making the case that there are indeed several people who would expect push to return a new array with the argument appended to it
<bnagy> anyway the core of the answer is 'faulty premise' - that's not what ! means
<rdevilla> just as sort does
<rdevilla> but ok
Megtastique has quit []
<bnagy> what about clear? Should that return a new empty array?
<rdevilla> bnagy: why not
robertrv has joined #ruby
<kure_> What do you mean by "be careful" then?
<rdevilla> perhaps a method Array#clear! without an Array#clear would make more sense
<bnagy> because it's an OO language
<rdevilla> bnagy: not really sure what that implies
robbyoconnor has quit [Quit: Konversation terminated!]
<RubyPanther> rdevilla: push doesn't have a non-mutable form, so it doesn't need the flagged version. Also keep in mind that originally ! suffix meant the method altered the receiver, but then Rails used it to just mean something that might be dangerous, which of course includes changing the receiver. And then Matz endorsed that view on the mailing list. So that is all it means now, warning be careful
<bnagy> mutable object state
cycorld has joined #ruby
<dogweather> Anyone here have strong opinions about gem naming?
butblack has quit [Quit: butblack]
toastynerd has quit [Remote host closed the connection]
<RubyPanther> rdevilla: Another thing to keep in mind is that Ruby is always pragmatic and never ideological. So they don't actually even ask if everything is perfectly symmetrical. They only deal with each method name, and what is the least-surprising thing to name it
<rdevilla> RubyPanther: that is a fair response
<RubyPanther> dogweather: Yes, name your gem something without a generic meaning
kitak has quit [Read error: Connection reset by peer]
<dogweather> :-) Definitely. What about a gem with custom RSpec matchers? rspec-thing? rspec-matchers-thing? rspec_thing?
kitak has joined #ruby
<bnagy> no underscores
<dogweather> The guidelines have left me a little confused. http://guides.rubygems.org/name-your-gem/
<dogweather> bnagy: The thing is, I don't own the RSpec:: namespace...
<RubyPanther> dogweather: rspec-nongenericword
MartynKeigher has joined #ruby
grep_away is now known as grep_awesome
toastynerd has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
joaoh82 has joined #ruby
toastynerd has quit [Read error: Connection reset by peer]
<dogweather> If M. Chelimsky later decides to use the same sub-module name, there'll be conflict.
<MartynKeigher> hey all...might not a "specific" ruby issue but i would really like some help with the following, that i am trying to do: https://github.com/brianmario/mysql2/issues/474
toastynerd has joined #ruby
ahawkins has quit [Quit: Lost terminal]
mary5030 has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
toastynerd has quit [Remote host closed the connection]
fijimunkii has joined #ruby
robbyoconnor has joined #ruby
lfox has quit [Quit: ZZZzzz…]
<RubyPanther> Right, if it is rspec-ponytails or rspec-moonunit then there is no conflict. If it is rspec-somegenericcspattern then it is going to conflict and is a horrible selfish greedy name
<MartynKeigher> trying to split this is kinda hard to do. i have tried the suggested method but still no luck
ageis has quit [Read error: Operation timed out]
<RubyPanther> rspec-bobskillermatcher
emocakes has quit [Quit: Linkinus - http://linkinus.com]
ahmedelgabri has joined #ruby
ahmedelgabri has quit [Remote host closed the connection]
ahmedelgabri has joined #ruby
joaoh82 has quit [Ping timeout: 272 seconds]
<dogweather> Interesting. my matchers are for testing webservices. e.g. the ssl certificate has been properly installed. so i've been thinking 'rspec-webservice'.
<RubyPanther> That is exactly what you should NOT name it, dogweather.
<dogweather> !!
<RubyPanther> That is entirely generic, it is greedy
<dogweather> Ah hah, ah hah - i think i'm seeing what you mean
<RubyPanther> rspec-dogweather is a better name
<dogweather> ok
<dogweather> because e.g. 20 diff people may make rspec webservice custom matchers...
pskosinski has joined #ruby
kitak has quit [Read error: Connection reset by peer]
<dogweather> Now, I don't see any gems named along the lines of what you're describing - https://rubygems.org/search?utf8=%E2%9C%93&query=rspec - but i do see the point.
<RubyPanther> Plus if people start using your library, it really is more searchable. There was once a web framework named "ServerSide" it was a great framework, but it was unsearchable. Compare that to searching for "Ruby Passenger"
<dogweather> true
kitak has joined #ruby
Hanmac1 has joined #ruby
jamesaanderson has joined #ruby
jameshyde has quit [Quit: Leaving.]
tectonic has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
nobitanobi has quit [Quit: Leaving]
kitak has quit [Read error: Connection reset by peer]
roberto has joined #ruby
burlyscudd has joined #ruby
ahawkins has joined #ruby
w4pm has quit [Ping timeout: 272 seconds]
robertrv has quit [Quit: Leaving]
lfox has joined #ruby
w4pm has joined #ruby
mlpinit has quit [Remote host closed the connection]
roberto is now known as robertrv
fijimunkii has quit [Ping timeout: 246 seconds]
burlyscudd has quit [Client Quit]
arclitgold has quit [Ping timeout: 265 seconds]
Brolen has quit [Quit: Brolen]
ahawkins has quit [Ping timeout: 272 seconds]
Hanmac has joined #ruby
tt1187 has quit [Ping timeout: 272 seconds]
kitak has joined #ruby
jameshyde has joined #ruby
Hanmac1 has quit [Ping timeout: 260 seconds]
aetaric has quit [Ping timeout: 240 seconds]
w4pm has quit [Ping timeout: 245 seconds]
bigbadbear has quit [Ping timeout: 245 seconds]
hakunin has quit [Remote host closed the connection]
brennanMKE has quit [Remote host closed the connection]
brennanMKE has joined #ruby
yasushi has joined #ruby
baroquebobcat has joined #ruby
timonv has joined #ruby
baroquebobcat has quit [Client Quit]
speakingcode has quit [Ping timeout: 272 seconds]
aetaric has joined #ruby
yasushi has quit [Ping timeout: 245 seconds]
Naoe-Kanno has joined #ruby
brennanMKE has quit [Ping timeout: 264 seconds]
bigbadbear has joined #ruby
SHyx0rmZ has quit [Ping timeout: 246 seconds]
ConstantineXVI has quit [Ping timeout: 260 seconds]
toastynerd has joined #ruby
jaybe has quit [Ping timeout: 240 seconds]
Lorn has quit [Quit: ZNC - http://znc.sourceforge.net]
<kure_> Like trying to find the band 'the orchestra'
toastynerd has quit [Read error: Connection reset by peer]
utkarsh has quit [Ping timeout: 240 seconds]
jcarouth has quit [Ping timeout: 252 seconds]
timonv has quit [Ping timeout: 272 seconds]
<kure_> Heh, I'm always surprised by that lady that keeps showing up when I'm searching for 'ruby' on google images
toastynerd has joined #ruby
jaybe has joined #ruby
ConstantineXVI has joined #ruby
mneorr has joined #ruby
utkarsh has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
smathieu has joined #ruby
kitak has quit [Ping timeout: 245 seconds]
lyanchih has joined #ruby
kitak has joined #ruby
ageis has joined #ruby
mzemel has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<RubyPanther> kure_: The cosplay lady?
jcarouth has joined #ruby
<kure_> the russian (?) model (?)
toastynerd has quit [Ping timeout: 264 seconds]
mzemel has joined #ruby
lnemo has quit [Quit: Leaving.]
mneorr has quit [Ping timeout: 272 seconds]
Wolland has quit [Remote host closed the connection]
Monie has joined #ruby
Monie has quit [Max SendQ exceeded]
lukec has joined #ruby
smathieu has quit [Remote host closed the connection]
Monie has joined #ruby
Monie has quit [Max SendQ exceeded]
Monie has joined #ruby
Monie has quit [Max SendQ exceeded]
Monie has joined #ruby
Monie has quit [Max SendQ exceeded]
Monie has joined #ruby
<RubyPanther> I always get Ruby Rocket, the American
Monie has quit [Max SendQ exceeded]
jkhwan has joined #ruby
mlpinit has joined #ruby
Monie has joined #ruby
Monie has quit [Max SendQ exceeded]
ckinni has joined #ruby
Monie has joined #ruby
Monie has quit [Max SendQ exceeded]
Monie has joined #ruby
phipes has quit [Remote host closed the connection]
Monie has quit [Max SendQ exceeded]
fractastical has quit [Quit: fractastical]
arclitgold has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
mlpinit has quit [Ping timeout: 260 seconds]
ip`` has joined #ruby
bigbadbear has quit [Ping timeout: 272 seconds]
arclitgold has quit [Ping timeout: 272 seconds]
guardian_c is now known as guardianx
jfelchner has joined #ruby
mneorr has joined #ruby
kitak has quit [Remote host closed the connection]
jameshyde has quit [Quit: Leaving.]
IceDragon has quit [Quit: Space~~~]
BrixSat has quit [Remote host closed the connection]
BrixSat has joined #ruby
joaoh82 has joined #ruby
bigbadbear has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mneorr has quit [Ping timeout: 246 seconds]
joaoh82 has quit [Ping timeout: 245 seconds]
maletor has joined #ruby
jamesaanderson has joined #ruby
xcfox has joined #ruby
DeM0nFiRe has joined #ruby
Wolland has joined #ruby
browndawg has joined #ruby
<DeM0nFiRe> Hello, I am wondering how I get ruby to actually output the characters that are substituted for control characters like in codepage 850 ( https://upload.wikimedia.org/wikipedia/commons/9/98/Codepage-850.png for example)
meatherl_ has joined #ruby
G has joined #ruby
dogweather has quit []
meatherly has quit [Read error: Connection reset by peer]
maletor has quit [Quit: Computer has gone to sleep.]
kate_r has joined #ruby
LinearInterpol has quit [Ping timeout: 264 seconds]
robertrv_ has joined #ruby
ahawkins has joined #ruby
skulker has joined #ruby
stryek has quit [Ping timeout: 260 seconds]
Monie has joined #ruby
bigbadbear has quit [Ping timeout: 246 seconds]
Monie has quit [Max SendQ exceeded]
phipes has joined #ruby
ahawkins has quit [Ping timeout: 264 seconds]
meatherl_ has quit [Remote host closed the connection]
skulker has quit [Ping timeout: 265 seconds]
lfox has quit [Quit: ZZZzzz…]
araujo has quit [Quit: Leaving]
sassamo has joined #ruby
meatherly has joined #ruby
<sayd> how to rubists handle proxying
<sayd> ie, my template uses request.base_uri but that is exposing the port the webserver is running behind a proxy
<sayd> think polyglotly bc we are in perl now
rm_ has quit [Ping timeout: 252 seconds]
brennanMKE has joined #ruby
zxd has joined #ruby
sassamo has quit [Remote host closed the connection]
sassamo has joined #ruby
phipes has quit [Remote host closed the connection]
robertrv_ has quit [Quit: robertrv_]
Parker0 has joined #ruby
Parker0 has quit [Client Quit]
brtdv has joined #ruby
zxd has quit [Ping timeout: 272 seconds]
sassamo_ has joined #ruby
bigbadbear has joined #ruby
binw has joined #ruby
sassamo has quit [Ping timeout: 245 seconds]
robertrv has quit [Quit: leaving]
rickruby has quit [Remote host closed the connection]
ahmedelgabri has quit [Remote host closed the connection]
fractastical has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
rickruby has joined #ruby
brennanMKE has quit [Ping timeout: 246 seconds]
bigbadbear has quit [Ping timeout: 264 seconds]
rickruby has quit [Ping timeout: 252 seconds]
w4pm has joined #ruby
jkhwan has joined #ruby
Deele has quit [Ping timeout: 260 seconds]
bigbadbear has joined #ruby
Wolland has quit [Ping timeout: 272 seconds]
mlpinit has joined #ruby
w4pm has quit [Ping timeout: 265 seconds]
phipes has joined #ruby
grep_awesome is now known as grep_away
jkhwan has quit [Ping timeout: 272 seconds]
mlpinit has quit [Ping timeout: 272 seconds]
sassamo_ has quit [Remote host closed the connection]
sassamo has joined #ruby
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
MatthewsFace has joined #ruby
dapz has joined #ruby
sassamo has quit [Ping timeout: 246 seconds]
lukec has quit [Quit: lukec]
robertrv has joined #ruby
mneorr has joined #ruby
Wolland has joined #ruby
robertrv has quit [Quit: leaving]
robertrv has joined #ruby
ahmedelgabri has joined #ruby
joaoh82_ has joined #ruby
brtdv has quit []
mneorr has quit [Ping timeout: 272 seconds]
bigbadbear has quit [Ping timeout: 272 seconds]
Emmanuel_Chanel has joined #ruby
anderson has quit [Ping timeout: 252 seconds]
joaoh82_ has quit [Ping timeout: 272 seconds]
shedd has quit [Remote host closed the connection]
jwalk has quit [Ping timeout: 260 seconds]
Emmanuel_Chanel has quit [Quit: Leaving]
yasushi has joined #ruby
jandris has quit [Remote host closed the connection]
ahawkins has joined #ruby
timonv has joined #ruby
ace_striker has quit [Ping timeout: 272 seconds]
nisstyre has quit [Quit: Leaving]
Emmanuel_Chanel has joined #ruby
banister has joined #ruby
phipes has quit [Remote host closed the connection]
PebkacJones has joined #ruby
anderson has joined #ruby
vlad_starkov has joined #ruby
brtdv has joined #ruby
ahawkins has quit [Ping timeout: 272 seconds]
<PebkacJones> hai
timonv has quit [Ping timeout: 272 seconds]
meatherly has quit [Remote host closed the connection]
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
jameshyde has joined #ruby
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
browndawg has quit [Quit: Leaving.]
brennanMKE has joined #ruby
PebkacJones has left #ruby [#ruby]
sheap has joined #ruby
mlpinit has joined #ruby
keen_ has quit [Ping timeout: 260 seconds]
shedd has joined #ruby
sheap has quit [Client Quit]
ando has joined #ruby
butblack has joined #ruby
Hanmac has quit [Quit: Leaving.]
Hanmac has joined #ruby
shubhajeet has joined #ruby
mlpinit has quit [Ping timeout: 272 seconds]
browndawg has joined #ruby
jkhwan has joined #ruby
sakb has joined #ruby
gr33n7007h has quit [Quit: Leaving]
<sakb> hi
brennanMKE has quit [Ping timeout: 272 seconds]
shedd has quit [Ping timeout: 272 seconds]
jkhwan has quit [Ping timeout: 272 seconds]
ando has quit [Remote host closed the connection]
ando has joined #ruby
ando has quit [Remote host closed the connection]
browndawg1 has joined #ruby
ando has joined #ruby
mneorr has joined #ruby
jameshyde has left #ruby [#ruby]
browndawg has quit [Ping timeout: 252 seconds]
ando has quit [Remote host closed the connection]
soobus has joined #ruby
ando has joined #ruby
brtdv has quit []
ando has quit [Remote host closed the connection]
ando has joined #ruby
flame_ has quit [Quit: Computer has gone to sleep.]
ehaliewicz has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brtdv has joined #ruby
flame_ has joined #ruby
flame_ has quit [Client Quit]
mneorr has quit [Ping timeout: 272 seconds]
<ace_striker> sakb: hey
mary5030 has quit [Remote host closed the connection]
flame_ has joined #ruby
sethen has quit [Remote host closed the connection]
skulker has joined #ruby
mengu has joined #ruby
shubhajeet has quit [Quit: Leaving]
DeM0nFiRe has quit [Read error: Connection reset by peer]
guardianx has quit [Remote host closed the connection]
skulker has quit [Ping timeout: 245 seconds]
simoz12 has joined #ruby
victor__ has joined #ruby
victor__ has quit [Client Quit]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ckinni has joined #ruby
sakb has quit [Quit: Leaving]
zxd has joined #ruby
ando has quit [Remote host closed the connection]
ando has joined #ruby
ip`` has quit []
mengu has quit [Ping timeout: 272 seconds]
ekarlso has quit [Ping timeout: 246 seconds]
ner0x has quit [Quit: Leaving]
ahawkins has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ahawkins has quit [Ping timeout: 260 seconds]
ekarlso has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mengu has joined #ruby
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
butblack has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby
butblack_ has joined #ruby
rickruby has joined #ruby
noop has joined #ruby
threesome has joined #ruby
ferr has joined #ruby
<ferr> Hey, could anyone give me a hint how would I sort an array of strings with my own method?
yarou has quit [Quit: This computer has gone to sleep]
rickruby has quit [Remote host closed the connection]
phansch has joined #ruby
lioninawhat has quit [Remote host closed the connection]
<Hanmac> ferr did you look at Enumerable#sort and sort_by ?
flame_ has quit [Quit: Computer has gone to sleep.]
flame_ has joined #ruby
OdNairy has joined #ruby
klaut has joined #ruby
<ferr> Hanmac: Yes, but I've got an exercise and I need to do it on my own method
mlpinit has joined #ruby
shedd has joined #ruby
browndawg1 has quit [Ping timeout: 246 seconds]
w4pm has joined #ruby
<pontiki> do you mean write your own sort method?
banister has joined #ruby
<pontiki> sort algorithms are all over the 'net
mengu has quit [Remote host closed the connection]
banister has quit [Client Quit]
<ferr> yes, sorry for misunderstanding
mlpinit has quit [Ping timeout: 272 seconds]
brennanMKE has joined #ruby
shedd has quit [Ping timeout: 252 seconds]
speakingcode has joined #ruby
banister has joined #ruby
mzemel has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
habanany has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
butblack_ has quit [Quit: butblack_]
mzemel has joined #ruby
w4pm has quit [Ping timeout: 272 seconds]
MatthewsFace has joined #ruby
rubyracer has joined #ruby
brennanMKE has quit [Ping timeout: 245 seconds]
<sayd> anyone know what dtach uses as redraw method by default?
butblack has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Remote host closed the connection]
ahmedelgabri has quit [Remote host closed the connection]
browndawg has joined #ruby
mneorr has joined #ruby
Bumptious has quit [Remote host closed the connection]
bigbadbear has joined #ruby
derebos has joined #ruby
flame_ has quit [Quit: Computer has gone to sleep.]
soobus has quit [Ping timeout: 252 seconds]
jfelchner has quit [Quit: jfelchner]
mklappstuhl has joined #ruby
joaoh82 has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
timonv has joined #ruby
mneorr has quit [Ping timeout: 272 seconds]
bigbadbear has quit [Ping timeout: 260 seconds]
soobus has joined #ruby
nannes has quit [Ping timeout: 245 seconds]
Nilium has quit [Read error: Operation timed out]
joaoh82 has quit [Ping timeout: 272 seconds]
timonv has quit [Ping timeout: 272 seconds]
mzemel has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Nilium has joined #ruby
soobus has quit [Ping timeout: 272 seconds]
relix has joined #ruby
mary5030 has joined #ruby
rickruby has joined #ruby
ahawkins has joined #ruby
soobus has joined #ruby
drumusician has joined #ruby
ephemerian has joined #ruby
vlad_starkov has joined #ruby
mary5030 has quit [Ping timeout: 260 seconds]
rickruby has quit [Remote host closed the connection]
tectonic has quit []
ahawkins has quit [Ping timeout: 272 seconds]
workmad3 has joined #ruby
nannes has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
nannes has quit [Max SendQ exceeded]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby
ckinni has joined #ruby
wallerdev has quit [Quit: wallerdev]
LexicalScope has joined #ruby
LexicalScope has joined #ruby
LexicalScope has quit [Changing host]
LexicalScope` has joined #ruby
noop has quit [Ping timeout: 260 seconds]
lewix has quit [Remote host closed the connection]
kalrover has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
Bumptious has joined #ruby
gasbakid has joined #ruby
vlad_starkov has joined #ruby
claymore has joined #ruby
joaoh82 has joined #ruby
mlpinit has joined #ruby
shedd has joined #ruby
brtdv has quit []
brtdv has joined #ruby
shredding has joined #ruby
mlpinit has quit [Ping timeout: 272 seconds]
brennanMKE has joined #ruby
shedd has quit [Ping timeout: 252 seconds]
jkhwan has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
gasbakid has quit [Ping timeout: 272 seconds]
drumusician has quit [Ping timeout: 260 seconds]
brennanMKE has quit [Ping timeout: 272 seconds]
Hanmac has quit [Ping timeout: 246 seconds]
jkhwan has quit [Ping timeout: 272 seconds]
Cannon4TI has joined #ruby
<Cannon4TI> Hello
<Cannon4TI> my first time looking at a ruby source file, I am attempting to run on windows command
<Cannon4TI> can someone help me please?
skulker has joined #ruby
<Cannon4TI> Command prompt gives an error each time
marr has joined #ruby
Guedes has joined #ruby
Guedes has left #ruby [#ruby]
<Cannon4TI> Anyone ?
mneorr has joined #ruby
dseitz has joined #ruby
LexicalScope` has quit [Ping timeout: 245 seconds]
anderson has quit [Read error: Connection reset by peer]
LexicalScope has quit [Ping timeout: 260 seconds]
Wolland has quit [Remote host closed the connection]
skulker has quit [Ping timeout: 265 seconds]
Hanmac has joined #ruby
dukz has joined #ruby
anderson has joined #ruby
<pontiki> have you installed ruby, Cannon4TI ?
<Cannon4TI> Yes
<pontiki> what is the error you are getting?
fractastical has quit [Quit: fractastical]
<Cannon4TI> One second
<Cannon4TI> here is the file incase you want to run it
<ferr> https://gist.github.com/anonymous/8266476 could anyone explain what is this line for? "sort(less) + [middle] + sort(more)"
<Cannon4TI> "Can not load such file" essentially
<pontiki> "essentially" turns out to be very important
<pontiki> did you install any of the gems listed in the program?
<Cannon4TI> Yes i installed all of them
<Cannon4TI> maybe i am going about it the wrong way
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
<Cannon4TI> i installed ruby
<pontiki> then please give me the exact and specific error
<Cannon4TI> saved it to my desktop
<DouweM> ferr: that's quicksort
<Cannon4TI> and loaded that file from the command prompt by dragging and dropping
<pontiki> when exactly are you going to tell me what i asked for, Cannon4TI ?
<pontiki> or do you have some other way of getting help?
<Cannon4TI> Im going to screenshot the error, one second
<pontiki> did you install mechanize?
<Cannon4TI> is that seprate from the ruby install?
<pontiki> yes
<Cannon4TI> no i have not
<Cannon4TI> how do i install that
<Cannon4TI> and what is it exactly
<pontiki> it is a gem, a separate library module, that works with scraping and driving web pages
<pontiki> on your command line, type gem install mechanize
<pontiki> that should also install nokogiri
<pontiki> json is part of ruby's standard library
<Cannon4TI> Thank you so much, let me see here..
<Cannon4TI> I typed gem install mechanize and hit enter and the command prompt went to the next line so im assuming it installed yet nothing popped up
araujo has joined #ruby
<Cannon4TI> Ah okay its installing
<popl> See, you need to be more patient than that. :)
<Cannon4TI> yes very true
<Cannon4TI> its nearly 5 am and im brainstorming on projects i can look into tomorrow
<Cannon4TI> :|
<popl> You could start a blog.
<Cannon4TI> why would i do that
<Cannon4TI> lol
<popl> You could build it yourself, with ruby.
vlad_starkov has quit [Remote host closed the connection]
<popl> Then you could talk about what you learned, and continue to learn.
<popl> Then you would have a record.
<Cannon4TI> pontiki: have you tried running the script?
<pontiki> no
<Cannon4TI> popl: one day maybe, im just now understanding java. i want to look into ruby after this semester
mneorr has quit [Remote host closed the connection]
jgrevich has quit [Quit: jgrevich]
<Cannon4TI> the certificate verification failed
robertrv has quit [Ping timeout: 272 seconds]
<Cannon4TI> pontiki: im not sure why exactly
mneorr has joined #ruby
<pontiki> nothing i can do about that
<Cannon4TI> is it a problem server side?
<pontiki> yes
<Cannon4TI> pontiki: what does this error read exactly http://postimg.org/image/ag22c2itp/1a7ae141/
<Cannon4TI> hopefully my last question
ahawkins has joined #ruby
<pontiki> is test.rb the exact same program you just showed me?
mneorr has quit [Ping timeout: 260 seconds]
<pontiki>
mzemel has joined #ruby
<Cannon4TI> yes
<pontiki> i have no problem connecting to that url
<Cannon4TI> >__>
mzemel has quit [Client Quit]
ahawkins has quit [Ping timeout: 246 seconds]
lyanchih has quit [Quit: lyanchih]
lyanchih has joined #ruby
JuanDaugherty has joined #ruby
decoponio has joined #ruby
yasushi has quit [Remote host closed the connection]
blackmesa has joined #ruby
JPascal has joined #ruby
fntzr has joined #ruby
lyanchih_ has joined #ruby
lyanchih has quit [Ping timeout: 272 seconds]
lyanchih_ is now known as lyanchih
ferr has quit [Ping timeout: 272 seconds]
ando has quit [Ping timeout: 272 seconds]
<Cannon4TI> pontiki: I tried the suggested solutions, it did not work
timonv has joined #ruby
<pontiki> probably something different on windows
<Cannon4TI> Well im not recieving the certificate failed error anymore
<Cannon4TI> im getting this error that read 'well i keep getting the error undefined method 'options' for nil:NilClass <NoMethodError>'
<Cannon4TI> ignore "well i keep getting the error"
SHyx0rmZ has joined #ruby
simoz12 has quit [Ping timeout: 264 seconds]
<Cannon4TI> pontiki: any ideas?
lyanchih has quit [Ping timeout: 245 seconds]
<pontiki> ask the person who wrote the script
Naoe-Kanno has quit [Ping timeout: 260 seconds]
JPascal has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mlpinit has joined #ruby
shedd has joined #ruby
phansch has quit [Quit: Leaving]
mlpinit has quit [Read error: Connection reset by peer]
mlpinit_ has joined #ruby
mneorr has joined #ruby
lkba has quit [Ping timeout: 272 seconds]
brennanMKE has joined #ruby
psyl0n has joined #ruby
psyl0n has quit [Changing host]
psyl0n has joined #ruby
VTLob has joined #ruby
mlpinit_ has quit [Ping timeout: 260 seconds]
ewnd9 has joined #ruby
lele has quit [Ping timeout: 240 seconds]
mneorr has quit [Ping timeout: 272 seconds]
<ace_striker> Cannon4TI: no homework here
marr has quit [Ping timeout: 272 seconds]
brennanMKE has quit [Ping timeout: 246 seconds]
shedd has quit [Ping timeout: 265 seconds]
kitak has joined #ruby
goganchic has joined #ruby
dukz has quit [Remote host closed the connection]
natano has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
colonolGron has joined #ruby
date05 has joined #ruby
date05 has left #ruby [#ruby]
<pontiki> wonder what that's bait for?
shredding has quit [Quit: shredding]
shredding has joined #ruby
bigbadbear has joined #ruby
[_aeris_] is now known as _aeris_
Trynemjoel has joined #ruby
ehaliewicz has quit [Remote host closed the connection]
charliesome has joined #ruby
bigbadbear has quit [Ping timeout: 264 seconds]
max96at has joined #ruby
timonv has quit [Remote host closed the connection]
habanany has quit [Ping timeout: 272 seconds]
m8 has joined #ruby
eka has joined #ruby
asmodlol has quit [Remote host closed the connection]
JPascal has joined #ruby
banister has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.2]
alexherbo2 has joined #ruby
natano has left #ruby [#ruby]
ahawkins has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest7728 has quit [Ping timeout: 260 seconds]
riku- has joined #ruby
Garo__ has quit [Ping timeout: 260 seconds]
joaoh82 has quit [Remote host closed the connection]
Garo_ has joined #ruby
parduse is now known as Guest24463
Guest24463 has quit [Killed (adams.freenode.net (Nickname regained by services))]
parduse has joined #ruby
riku- has quit [Excess Flood]
ahawkins has quit [Ping timeout: 272 seconds]
simoz12 has joined #ruby
Cannon4TI has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
kitak has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
utkarsh has quit [Changing host]
utkarsh has joined #ruby
kitak has joined #ruby
riku- has joined #ruby
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
JPascal has quit [Ping timeout: 246 seconds]
klaut has quit [Remote host closed the connection]
kung has quit [Read error: Connection reset by peer]
kung has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
krz has joined #ruby
shime has joined #ruby
krz has quit [Read error: Connection reset by peer]
krz has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
spider-mario has joined #ruby
marr has joined #ruby
ahmedelgabri has joined #ruby
skulker has joined #ruby
nw has quit [Ping timeout: 272 seconds]
Garo_ has quit [Ping timeout: 245 seconds]
sinm has joined #ruby
shaman42 has quit [Ping timeout: 240 seconds]
Jamo has quit [Ping timeout: 252 seconds]
cbetta_afk is now known as cbetta
mlpinit has joined #ruby
ferr has joined #ruby
mneorr has joined #ruby
workmad3 has quit [Ping timeout: 265 seconds]
brennanMKE has joined #ruby
skulker has quit [Ping timeout: 264 seconds]
achru has joined #ruby
kung has quit [Read error: Connection reset by peer]
mlpinit has quit [Ping timeout: 252 seconds]
jkhwan has joined #ruby
kung has joined #ruby
nw has joined #ruby
mneorr has quit [Ping timeout: 260 seconds]
shime has quit [Ping timeout: 264 seconds]
mklappstuhl has quit [Remote host closed the connection]
Garo_ has joined #ruby
Jamo has joined #ruby
OdNairy has quit []
pipecloud_ is now known as pipecloud
OdNairy has joined #ruby
pipecloud has quit [Changing host]
pipecloud has joined #ruby
pipecloud has joined #ruby
m-r-r has joined #ruby
<m-r-r> Hello
jkhwan has quit [Ping timeout: 272 seconds]
shaman42 has joined #ruby
<m-r-r> What is the difference between '{:a=>1,:b=>2}.each { | h, v | puts "#{v}" }' and '{:a=>1,:b=>2}.each do | h, v | puts "#{v}" end' ? It seems both are working ...
klaut has joined #ruby
brtdv has quit []
brennanMKE has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
atmosx has joined #ruby
LadyRainicorn has joined #ruby
Rainicorn has joined #ruby
vlad_starkov has quit [Read error: Operation timed out]
LadyRainicorn has quit [Disconnected by services]
Rainicorn is now known as LadyRainicorn
codenapper has joined #ruby
<ace_striker> m-r-r: both are equivalent ..{ } is one line sytax while do ..end is multiline sytax
<LadyRainicorn> (almost equivalent)
codenapper has quit [Read error: Connection reset by peer]
codenapper has joined #ruby
timonv has joined #ruby
krz has quit [Ping timeout: 245 seconds]
kep has joined #ruby
<charliesome> ace_striker:
ehaliewicz has joined #ruby
<charliesome> ace_striker: I like to use { .. } for blocks where the return value is signficant, and do...end otherwise
<charliesome> so each do .. end, map { .. }, etc.
spider-mario has quit [Remote host closed the connection]
codenapper has quit [Client Quit]
krz has joined #ruby
zegerjan has joined #ruby
codenapper has joined #ruby
ando has joined #ruby
yasushi has joined #ruby
codenapper has quit [Client Quit]
ph8 has joined #ruby
<m-r-r> charliesome: ok, thanks
ando has quit [Remote host closed the connection]
codenapper has joined #ruby
ando has joined #ruby
shedd has joined #ruby
keen_ has joined #ruby
keen_ has quit [Client Quit]
yasushi has quit [Remote host closed the connection]
brtdv has joined #ruby
<ace_striker> charliesome: what do you mean by "return value is significant " ?
<charliesome> ace_striker: the caller of the block makes use of the return value of the block
<ferr> https://gist.github.com/anonymous/8267540 I've been trying to understand this code. I know what everything means, I followed the code myself and understand computer reads it but I do not get it logically, could anyone explain me?
ando has quit [Ping timeout: 246 seconds]
<ace_striker> charliesome: return value is equally significant is both { } and do ..end ..i guess
<charliesome> ace_striker: so for #each I'd always use do...end since the return value is insignificant and i'm only iterating for the block's side effects
zegerjan has quit [Quit: WeeChat 0.4.2]
mehlah has joined #ruby
simoz12 has quit [Ping timeout: 264 seconds]
<charliesome> ace_striker: sure, but I'm saying I make the distinction between { ... } and do ... end myself
<charliesome> as a hint to whoever's reading the code
shedd has quit [Ping timeout: 252 seconds]
<ace_striker> charliesome: but do ..end blocks do return values ... but it's fine what you are saying
ahawkins has joined #ruby
<charliesome> ace_striker: I know do...end blocks return values, but I use them to indicate that the value they return is unused
camilasan has joined #ruby
relix has joined #ruby
relix has quit [Client Quit]
carraroj has joined #ruby
<ace_striker> yeah...i now agree .. i have seen this convention in codes.... charliesome : nice ..thanks
<charliesome> np
ahmedelgabri has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
popl has quit [Ping timeout: 272 seconds]
AndChat|87561 has joined #ruby
mklappst_ has joined #ruby
ahawkins has quit [Ping timeout: 272 seconds]
kitak has quit [Remote host closed the connection]
ahmedelgabri has joined #ruby
kitak has joined #ruby
<ace_striker> charliesome: is this you btw https://charlie.bz/
<charliesome> ace_striker: yes
aryaching has joined #ruby
<ace_striker> is that php favicon :: intentional ? for troll
mklappstuhl has quit [Ping timeout: 245 seconds]
<ace_striker> charliesome: that php favicon :: intentional ? for troll
mklappst_ has quit [Ping timeout: 260 seconds]
<ace_striker> just kidding
OdNairy has quit []
OdNairy has joined #ruby
m-r-r has quit [Quit: WeeChat 0.4.2]
asmodlol has joined #ruby
m00nlight has quit [Read error: Connection reset by peer]
lkba has joined #ruby
ehaliewicz has quit [Remote host closed the connection]
Neomex has joined #ruby
Neomex has quit [Client Quit]
kirun has joined #ruby
LadyRainicorn has quit [Quit: Bye]
marr has quit [Ping timeout: 245 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LadyRainicorn has joined #ruby
m00nlight has joined #ruby
lele has joined #ruby
<atmosx> hello
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<LadyRainicorn> Hi.
Galgorth has quit [Quit: Galgorth]
skaflem has joined #ruby
<ace_striker> charliesome: awesome work .. inspired
Rainicorn has joined #ruby
sinm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LadyRainicorn has quit [Ping timeout: 245 seconds]
mlpinit has joined #ruby
w4pm has joined #ruby
mneorr has joined #ruby
relix has joined #ruby
Rainicorn is now known as LadyRainicorn
emocakes has joined #ruby
butblack has quit [Quit: butblack]
w4pm has quit [Ping timeout: 246 seconds]
mlpinit has quit [Ping timeout: 272 seconds]
mneorr has quit [Ping timeout: 260 seconds]
wildroman2 has joined #ruby
rubyracer has quit [Read error: Connection reset by peer]
agjacome has joined #ruby
joaoh82 has joined #ruby
brennanMKE has joined #ruby
rubyracer has joined #ruby
tylersmi_ has quit [Remote host closed the connection]
xcfox has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
blackmesa has quit [Ping timeout: 240 seconds]
klaut has quit [Remote host closed the connection]
joaoh82 has quit [Ping timeout: 245 seconds]
brennanMKE has quit [Ping timeout: 272 seconds]
colonolGron has quit [Quit: Lost terminal]
klaut_ has joined #ruby
bigbadbear has joined #ruby
horofox_ has joined #ruby
Galgorth has joined #ruby
bigbadbear has quit [Ping timeout: 260 seconds]
platzhirsch has joined #ruby
OdNairy has quit []
OdNairy has joined #ruby
shedd has joined #ruby
phansch has joined #ruby
ewnd9 has quit [Ping timeout: 264 seconds]
otherj has joined #ruby
shedd has quit [Ping timeout: 264 seconds]
ahawkins has joined #ruby
razibog has joined #ruby
xjiujiu has joined #ruby
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
SeySayux_ has quit [Read error: Connection reset by peer]
AndChat|87561 has quit [Quit: Bye]
mklappstuhl has joined #ruby
habanany has joined #ruby
ahawkins has quit [Ping timeout: 260 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phansch has quit [Ping timeout: 252 seconds]
LinearInterpol has joined #ruby
habanany has quit [Client Quit]
ace_striker has quit [Ping timeout: 272 seconds]
stryek has joined #ruby
mklappstuhl has quit [Ping timeout: 246 seconds]
SeySayux has joined #ruby
<shevy> hey my favourite ponicorn!
MartynKeigher has quit [*.net *.split]
tekacs has quit [*.net *.split]
poguez_ has quit [*.net *.split]
antonishen has quit [*.net *.split]
alol has quit [*.net *.split]
Avahey has quit [*.net *.split]
pipecloud has quit [*.net *.split]
aagdbl has quit [*.net *.split]
bedouin has quit [*.net *.split]
lupine has quit [*.net *.split]
strax has quit [*.net *.split]
nhmood has quit [*.net *.split]
tommyvyo has quit [*.net *.split]
ddv has quit [*.net *.split]
yo61 has quit [*.net *.split]
andrewstewart has quit [*.net *.split]
shanlar- has quit [*.net *.split]
itamaryu has quit [*.net *.split]
moeSeth_ has quit [*.net *.split]
landon__ has quit [*.net *.split]
culturelabs has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
swills has quit [*.net *.split]
ereslibre_laptop has quit [*.net *.split]
aspiers_ has quit [*.net *.split]
Taranis has quit [*.net *.split]
jokke has quit [*.net *.split]
bgy has quit [*.net *.split]
_aeris_ has quit [*.net *.split]
lupine has joined #ruby
Taranis has joined #ruby
lupine has quit [Changing host]
lupine has joined #ruby
_aeris_ has joined #ruby
tekacs has joined #ruby
shanlar has joined #ruby
jokke has joined #ruby
landon__ has joined #ruby
zigomir has joined #ruby
aspiers_ has joined #ruby
swills has joined #ruby
poguez_ has joined #ruby
swills has quit [Changing host]
swills has joined #ruby
Avahey has joined #ruby
ereslibre has joined #ruby
ereslibre has joined #ruby
alol has joined #ruby
intent has joined #ruby
yo61 has joined #ruby
aagdbl has joined #ruby
ahmedelgabri has quit [Remote host closed the connection]
bgy has joined #ruby
andrewstewart has joined #ruby
ddv has joined #ruby
MartynKeigher has joined #ruby
pipecloud has joined #ruby
<intent> I am a supernewb with ruby, I basically just have a script that was made and I am trying to figure out how to include javascript in it
itamaryu has joined #ruby
culturelabs has joined #ruby
skulker has joined #ruby
nhmood has joined #ruby
<intent> I'll paste bin the code in a moment
bedouin has joined #ruby
antonishen has joined #ruby
strax has joined #ruby
<LadyRainicorn> intent: 1. Don't do this.
relix has joined #ruby
<LadyRainicorn> 2. require 'therubyracer'
<intent> The script already puts JS somewhere
<intent> I am just trying to replace the JS with other JS
Speed has joined #ruby
ahmedelgabri has joined #ruby
phansch has joined #ruby
moeSeth_ has joined #ruby
Guest85414______ has joined #ruby
razibog has quit [Remote host closed the connection]
<intent> LadyRainicorn: that's what I'm trying to do
tommyvyo has joined #ruby
skulker has quit [Ping timeout: 272 seconds]
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has joined #ruby
bashdy has joined #ruby
otherj has quit []
<LadyRainicorn> Remove the script tags and indent it like the JS you wany to replace.
<LadyRainicorn> You probably should learn to code before trying to alter .erb files though
carraroj has quit [Read error: Operation timed out]
dr_bob has joined #ruby
ando has joined #ruby
yasushi has joined #ruby
mlpinit has joined #ruby
mneorr has joined #ruby
mlpinit has quit [Read error: Connection reset by peer]
<intent> its a .haml file
Czupa has joined #ruby
<hiall> or include an external js
<intent> So basically :javascript replaces <script> and %noscript replaces <noscript>, I got that much, but doing this still gives a generic error the programmer coded in that is a public facing "oops" message
<intent> That would probably be so much easier hiall
dr_bob has left #ruby [#ruby]
<hiall> %script{ :src => "somefile" }
<hiall> is all you would need
<intent> That would take care of no script as well as long as no script is defined in the .js file?
shime has joined #ruby
<intent> And is the src relative or alsbolute?
<hiall> may help you
jkhwan has joined #ruby
ando has quit [Remote host closed the connection]
ferr has quit [Ping timeout: 272 seconds]
ando has joined #ruby
ewnd9 has joined #ruby
razibog has joined #ruby
freggles has joined #ruby
mneorr has quit [Ping timeout: 265 seconds]
<intent> hiall: is ruby sensitive to indentation?
<hiall> haml is yes
<hiall> haml is a template engine for ruby
<hiall> you are not writing ruby
<hiall> you're writing haml
ando has quit [Remote host closed the connection]
ando has joined #ruby
joaoh82 has joined #ruby
Czupa` has joined #ruby
Czupa` has quit [Read error: Connection reset by peer]
Czupa has quit [Remote host closed the connection]
<intent> Ah
Czupa has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
<intent> Would that include code you gave me earlier still work then?
yasushi has quit [Remote host closed the connection]
brennanMKE has joined #ruby
EngierkO has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<hiall> Thats haml code yes
Czupa has quit [Client Quit]
yasushi has joined #ruby
Czupa has joined #ruby
ando has quit [Read error: Connection reset by peer]
LadyRainicorn has quit [Quit: Bye]
Czupa has quit [Client Quit]
joaoh82 has quit [Ping timeout: 260 seconds]
Czupa has joined #ruby
brennanMKE has quit [Ping timeout: 252 seconds]
Czupa has quit [Remote host closed the connection]
brtdv has quit []
Czupa has joined #ruby
threesome has quit [Ping timeout: 252 seconds]
brtdv has joined #ruby
flame_ has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
tylersmith has joined #ruby
robertjpayne has quit []
shime has quit [Ping timeout: 272 seconds]
wmoxam has quit [Read error: Operation timed out]
ahmedelgabri has quit [Ping timeout: 260 seconds]
kate_r has joined #ruby
vlad_starkov has joined #ruby
LBRapid has quit [Ping timeout: 252 seconds]
justinmcp has quit [Quit: No Ping reply in 180 seconds.]
<intent> hiall: i included the same code in a JS file and it appears in the source but it doesn't display anything
kate_r has quit [Client Quit]
justinmcp has joined #ruby
krz has quit [Ping timeout: 245 seconds]
vlad_sta_ has joined #ruby
kaichanvong has quit [Quit: _]
hoelzro has quit [Ping timeout: 246 seconds]
peterhu has quit [Ping timeout: 245 seconds]
kaichanvong___ has joined #ruby
kaichanvong___ is now known as kaichanvong
vlad_sta_ has quit [Remote host closed the connection]
emocakes has quit [Quit: Leaving...]
hoelzro has joined #ruby
wmoxam has joined #ruby
wang has quit [Ping timeout: 260 seconds]
kayloos has quit [Remote host closed the connection]
peterhu has joined #ruby
tylersmith has quit [Ping timeout: 272 seconds]
<hiall> thats down to your js
<hiall> not the ruby
vlad_sta_ has joined #ruby
<intent> Ah thats because I just had dupe tags
<intent> You're right
wang has joined #ruby
<intent> Now how about the <noscript>
<intent> Do I need to make a special case in haml or can i just include that in the js?
<hiall> well noscript is a html tag
LBRapid has joined #ruby
<hiall> not a js tag
<hiall> Have you ever coded before?
veterinarian has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
<intent> Yes but only lightly with js-related things
vlad_sta_ has joined #ruby
<hiall> I see well the noscript tag needs to be in the html
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
<hiall> %noscript or so in haml
shedd has joined #ruby
<hiall> I did give you a html->haml converter
<hiall> either learn haml or use that is my suggestion
vlad_starkov has quit [Ping timeout: 264 seconds]
horofox_ has quit [Read error: Connection reset by peer]
horofox_ has joined #ruby
shedd has quit [Ping timeout: 264 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv has quit [Remote host closed the connection]
ahawkins has joined #ruby
lewix has joined #ruby
mojjojo has joined #ruby
horofox_ has quit [Quit: horofox_]
joaoh82 has joined #ruby
relix has joined #ruby
nfk has joined #ruby
<intent> Right I see, thank you
brtdv has quit []
ahawkins has quit [Ping timeout: 260 seconds]
brennanMKE has joined #ruby
xjiujiu has quit [Ping timeout: 264 seconds]
Brolen has joined #ruby
mojjojo has quit [Quit: mojjojo]
dapz has quit [Ping timeout: 245 seconds]
Hanmac1 has joined #ruby
brennanMKE has quit [Ping timeout: 272 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hanmac has quit [Ping timeout: 260 seconds]
aryaching has quit [Ping timeout: 260 seconds]
<drPoggs> I'm trying to test Redis pubsub functionality using RSpec tests - but coming unstuck because I need to have a subscriber running in parallel with my publisher... I've tried to do this with a Thread.new, but it seems messy... anyone got any ideas
<drPoggs> ?
Brolen has quit [Quit: Brolen]
skulker has joined #ruby
Brolen has joined #ruby
intent has quit [Read error: Connection reset by peer]
ferr has joined #ruby
intent has joined #ruby
skulker has quit [Remote host closed the connection]
IceDragon has joined #ruby
ahmedelgabri has joined #ruby
bittyx has joined #ruby
<bittyx> Hiya! I have Ruby installed on my Linux Mint 15 - "ruby -v" returns the version (1.9.3p429) - but I don't have "gem", which I need to install gems (specifically, I need it to install "sass"). Can anyone advise me on what exactly I need to install? I've seen a bunch of different suggestions on Google, and I can't decide which one I should choose (most seem to suggest installing "rvm", but I have no idea if/how that will conflict with the ruby I already h
<bittyx> ave installed).
arietis has joined #ruby
fijimunkii has joined #ruby
mneorr has joined #ruby
<bittyx> Uh, actually, scratch that, it seems I *do* have "gem", it just wouldn't work when I tried running it with "sudo". Thanks anyway.
ferr has quit [Read error: Operation timed out]
<shevy> bittyx good!
<shevy> sudo camouflaging ;)
psyl0n has quit [Ping timeout: 272 seconds]
mneorr has quit [Ping timeout: 265 seconds]
aryaching has joined #ruby
kate_r has joined #ruby
psyl0n has joined #ruby
kate_r has quit [Max SendQ exceeded]
mojjojo has joined #ruby
kate_r has joined #ruby
<shevy> module Adapters
<shevy> autoload :AbstractAdapter, 'web_video/adapters/abstract_adapter'
<shevy> hmmmm
brtdv has joined #ruby
<shevy> VERSION = "1.2.0".freeze
<shevy> Hanmac1, is this is a good way? ^^^
<Hanmac1> you mean the version thing or the autoload?
kate_r has quit [Ping timeout: 265 seconds]
soobus has quit [Read error: Operation timed out]
<waxjar> autoload is deprecated i believe
ando has joined #ruby
<shevy> Hanmac1 the VERSION stuff
<shevy> I don't think I have seen .freeze used like that before for a version
<Hanmac1> the version stuff is so ok
Guest4780 is now known as sts
sts has left #ruby [#ruby]
vlad_sta_ has quit [Remote host closed the connection]
m00nlight_ has joined #ruby
hl has quit [Ping timeout: 260 seconds]
m00nlight has quit [Ping timeout: 246 seconds]
banister has joined #ruby
bigbadbear has joined #ruby
relix has joined #ruby
vlad_sta_ has joined #ruby
kalrover has quit [Quit: Leaving.]
Brolen has quit [Quit: Brolen]
relix has quit [Client Quit]
ace_striker has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
endash has quit [Quit: endash]
relix has joined #ruby
<platzhirsch> is it possible to overwrite to_proc or so and make it possible to use .send and it automagically uses the to_proc or similiar?
ando has quit [Remote host closed the connection]
ando has joined #ruby
mojjojo has quit [Quit: mojjojo]
mklappstuhl has joined #ruby
bigbadbear has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_sta_ has quit [Ping timeout: 264 seconds]
ando has quit [Remote host closed the connection]
ando has joined #ruby
sleepee has joined #ruby
shredding has quit [Quit: shredding]
ando has quit [Remote host closed the connection]
ando has joined #ruby
jerius has joined #ruby
bigbadbear has joined #ruby
brtdv has quit []
Lulzon has quit [Quit: ZNC - http://znc.in]
shedd has joined #ruby
jerius has quit [Client Quit]
`MArceLL` has quit [Remote host closed the connection]
`MArceLL` has joined #ruby
ando has quit [Remote host closed the connection]
ando has joined #ruby
lioninawhat has joined #ruby
<MartynKeigher> hey all... can anyone help me out with this??? https://github.com/brianmario/mysql2/issues/474
<platzhirsch> unexpected token at '{"snapshot":{"date":"2013-12-24","score":-nan}}'
<platzhirsch> - NaN? uhm
timonv has joined #ruby
veterinarian has quit [Read error: Connection reset by peer]
shedd has quit [Ping timeout: 265 seconds]
hl has joined #ruby
ando has quit [Remote host closed the connection]
ando has joined #ruby
ando has quit [Remote host closed the connection]
ando has joined #ruby
ahawkins has joined #ruby
skulker has joined #ruby
razibog has quit [Ping timeout: 260 seconds]
soobus has joined #ruby
asmodlol has quit [Remote host closed the connection]
butblack has joined #ruby
EngierkO has joined #ruby
ando has quit [Remote host closed the connection]
ando has joined #ruby
sepp2k has joined #ruby
ahmedelgabri has quit [Remote host closed the connection]
ahawkins has quit [Ping timeout: 272 seconds]
larissa has joined #ruby
brennanMKE has joined #ruby
skulker has quit []
ando has quit [Remote host closed the connection]
ando has joined #ruby
Chillectual has joined #ruby
ando has quit [Remote host closed the connection]
ando has joined #ruby
nateberkopec has joined #ruby
fijimunkii has quit [Ping timeout: 272 seconds]
sleepee has quit [Ping timeout: 252 seconds]
razibog has joined #ruby
ando has quit [Remote host closed the connection]
ando has joined #ruby
davidw has joined #ruby
ando has quit [Remote host closed the connection]
LinearInterpol has quit [Ping timeout: 265 seconds]
ando has joined #ruby
brennanMKE has quit [Ping timeout: 272 seconds]
<davidw> nokogiri is going to drive me mad... to_xhtml and to_html print out different things. I want xhtml, but I want it without the pretty printing, or it adds unwanted spaces!
LulzonAway has joined #ruby
<davidw> For formatted output, use Node#to_xhtml instead. <- say the docs....
<davidw> so that would indicate that I use to_html. But then it doesn't do stuff like <br />
<davidw> even if I use the save_with options.... argh
vlad_starkov has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
ahmedelgabri has joined #ruby
ahmedelgabri has quit [Remote host closed the connection]
bittyx has quit [Quit: Leaving]
LulzonAway is now known as Lulzon
burlyscudd has joined #ruby
ringaroses has joined #ruby
ando has quit [Remote host closed the connection]
ando has joined #ruby
<shevy> XML will drive everyone mad
eka has quit [Quit: Computer has gone to sleep.]
blackmesa has joined #ruby
ando has quit [Remote host closed the connection]
ando has joined #ruby
ambushsabre has joined #ruby
ando has quit [Remote host closed the connection]
ando has joined #ruby
ando has quit [Remote host closed the connection]
ando has joined #ruby
ando has quit [Remote host closed the connection]
ando has joined #ruby
mneorr has joined #ruby
ando has quit [Remote host closed the connection]
ando has joined #ruby
zcreative has joined #ruby
jamesaanderson has joined #ruby
ando has quit [Remote host closed the connection]
ando has joined #ruby
Landshark753 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ringaroses has quit [Ping timeout: 260 seconds]
grep_away is now known as grep_awesome
nowthatsamatt has joined #ruby
jkhwan has joined #ruby
ringaroses has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
sasg has joined #ruby
fijimunkii has joined #ruby
mneorr has quit [Ping timeout: 272 seconds]
sasg has left #ruby [#ruby]
iMe has joined #ruby
Hanmac1 has quit [Ping timeout: 264 seconds]
lioninawhat has quit [Remote host closed the connection]
Wolland has joined #ruby
lioninawhat has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
sassamo has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
ringaroses1 has joined #ruby
JuanDaugherty has quit [Ping timeout: 260 seconds]
grep_awesome is now known as grep_away
ringaroses has quit [Ping timeout: 260 seconds]
Chillectual has quit [Read error: Connection timed out]
burlyscudd has quit [Quit: Leaving.]
enebo has joined #ruby
benzrf has joined #ruby
<benzrf> hello ruby enthusiast
<benzrf> s
Chillectual has joined #ruby
lukec has joined #ruby
hackeron has quit [Remote host closed the connection]
ambushsabre has quit [Quit: rip]
mojjojo has joined #ruby
AlSquire has joined #ruby
bittyx has joined #ruby
derebos has quit [Ping timeout: 246 seconds]
larissa has left #ruby ["Leaving"]
hackeron has joined #ruby
<MartynKeigher> hey benzrf !
kayloos has joined #ruby
<MartynKeigher> hey benzrf .... any ideas how i would do this?? .... https://github.com/brianmario/mysql2/issues/474
<canton7> "for some reason it doesn't work" isn't enough to help you
shedd has joined #ruby
<benzrf> MartynKeigher: ima look at it one sec
nateberkopec has quit [Quit: Leaving...]
<MartynKeigher> thank you canton7, i edited the post. didnt mean to be vague!
ringaroses2 has joined #ruby
colonolGron has joined #ruby
kayloos has quit [Ping timeout: 260 seconds]
<MartynKeigher> and thank you benzrf ... would really appreciate it. it s the structuring of the ('stuff') thats its not liking for sure. there is just no error logs with this dash, so to exactly whast wrong is tricky
vlad_starkov has quit [Remote host closed the connection]
doodlehaus has joined #ruby
vlad_starkov has joined #ruby
<benzrf> MartynKeigher: is it that you're using "require 'blah'" instead of "require './blah'"?
<MartynKeigher> hmmm??? ok i'll try that. good catch there. brb
shedd has quit [Ping timeout: 252 seconds]
ringaroses1 has quit [Ping timeout: 260 seconds]
ahawkins has joined #ruby
Hanmac has joined #ruby
<canton7> MartynKeigher, we need a pastie showing exactly what you're doing. Your problem isn't with mysql2, btw, so you should close off the issue there
sassamo has quit [Remote host closed the connection]
wallerdev has joined #ruby
spyderman4g63 has joined #ruby
sassamo has joined #ruby
<MartynKeigher> building it back up now based on the require ./my_db.rb
butblack has quit [Quit: butblack]
zxd has quit [Ping timeout: 265 seconds]
<MartynKeigher> give me 2mins to get it in place and test
<canton7> that, or require_relative 'my_db'
<canton7> don't include the .rb extension in requires, also
MindfulMonk has joined #ruby
zxd has joined #ruby
camilasan has quit [Ping timeout: 246 seconds]
wallerdev has quit [Client Quit]
ahawkins has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
geggam has quit [Quit: Leaving]
geggam has joined #ruby
yarou has joined #ruby
threesome has joined #ruby
Guest has joined #ruby
geggam has quit [Client Quit]
Guest has quit [Client Quit]
brennanMKE has joined #ruby
geggam has joined #ruby
<MartynKeigher> ok thanks. going through it now
grep_away is now known as grep_awesome
grep_awesome is now known as grep_away
pushpak has joined #ruby
doodlehaus has quit [Remote host closed the connection]
ferr has joined #ruby
<bittyx> Hiya! I'm running Linux Mint 15 (based on Ubuntu 13.04), and I have ruby pre-installed (ruby 1.9.3p429, and gem 1.8.25). However, I'm having some problems - when I install a gem (specifically, "gem install sass"), it's not in my path, so running "sass" displays an error ("gem list" shows it as correctly installed). Secondly, and this may be related, "sudo ruby -v" and "sudo gem -v" display "command not found" errors.
<bittyx> Any ideas how to fix this?
ambushsabre has joined #ruby
<MartynKeigher> hey canton7 ...... THAT DID IT!!!! :)
<MartynKeigher> u are a legend! :)
<benzrf> am i not a legend :)
<benzrf> * :(
<MartynKeigher> hehe...
<MartynKeigher> i did try that, but it failed again..... but you both were right on the money with it! :)
<MartynKeigher> require '.my_db.rb' did not work
devdazed has quit [Quit: Bye]
<MartynKeigher> require_relative 'my_db' DID work!
<benzrf> you left off the slash -.-
<benzrf> ./my_db
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf> not .my_db ;p
dukz has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
<canton7> details... they're important
<canton7> benzrf's syntax should work, too
<canton7> s/should/does
vlad_starkov has quit [Ping timeout: 272 seconds]
spyderman4g63 has joined #ruby
<matti> bittyx: What do you need to do? Have Ruby just for yourself for development?
razibog has quit [Ping timeout: 245 seconds]
brennanMKE has quit [Ping timeout: 272 seconds]
<matti> bittyx: In such case I'd recommend rvm/rbenv/chruby/whatnot for local user.
lioninawhat has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
psyl0n has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby
lioninawhat has joined #ruby
psyl0n has joined #ruby
tt1187 has joined #ruby
<bittyx> matti: Actually, I just need to have "sass" available, I don't really use ruby for development.
<bittyx> matti: And while searching for what to do, I've found suggestions to use rvm/rbenv etc. but there so many options, I have no idea which to choose.
blackmesa has quit [Ping timeout: 240 seconds]
<MartynKeigher> ah... that was a typo here in the IRC chat!
<bittyx> matti: There's even a "ruby-sass" package available via my OS's package manager (though I'd prefer to install the gem manually, so I'd have better control over which version is installed etc.)
<MartynKeigher> i did try require './my_db.rb'
<matti> bittyx: I'd get rid of OS Ruby.
<shevy> you typo everywhere! :P
xdrone has joined #ruby
<matti> bittyx: And follow installation steps on RVM web site.
<matti> bittyx: To begin with.
nm_ has joined #ruby
Hanmac has quit [Ping timeout: 265 seconds]
<shevy> matti how is the weather in London?
filo3sofie is now known as FiLoSsOfIe
<canton7> MartynKeigher, without the .rb ')
<canton7> * ;)
nm_ has quit [Client Quit]
<shevy> yeah
<shevy> use .php there
vlad_starkov has quit [Ping timeout: 260 seconds]
<matti> shevy: Amazing!
<bittyx> matti: Okay, thank you, I'll try that.
<matti> shevy: Sun shining, hot.
<matti> shevy: Girls in bikinis.
<matti> ...
<matti> shevy: What do you think, really? ;]
<bittyx> matti: The usual London weather, right?
Hanmac has joined #ruby
<matti> bittyx: You might need to install some -dev packages as well as make, build-essential etc.
<matti> bittyx: RVM has you covered there, as it will tell you what to do.
estebanrules has joined #ruby
<matti> bittyx: Web site is also well-documented.
<matti> bittyx: Weather - totally ;p
<matti> Haha
<bittyx> Thank you, I'm currently removing the OS-provided Ruby.
<MartynKeigher> i ahve updated the git accordingly.... https://github.com/brianmario/mysql2/issues/474
<shevy> matti hehehehe
<MartynKeigher> the rb files in the git link are exact as my files are now and it works!
<MartynKeigher> thank you so much guys!
w4pm has joined #ruby
<shevy> you typo a lot man really... "ahve" rather than "have" ... :P
<MartynKeigher> the opens up a ton of possibilties now!! apprecaite it! :)
Fabz has joined #ruby
bashdy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mneorr has joined #ruby
estebanrules has quit [Remote host closed the connection]
spyderman4g63 has quit [Remote host closed the connection]
<benzrf> shevy: who doesnt say ahve pfft
w4pm has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby
<matti> benzrf: He is like Kenny from SP ;]
fntzr has quit [Quit: Leaving]
mneorr has quit [Ping timeout: 252 seconds]
ahawkins has joined #ruby
<benzrf> hah
lewix has quit [Remote host closed the connection]
Advocation has joined #ruby
lewix has joined #ruby
achru has quit [Remote host closed the connection]
<shevy> I hate that you can have only one gem name
achru has joined #ruby
<shevy> are there other ways for gems / gem downloads other than rubygems.org ?
<benzrf> shevy: make your own
<benzrf> its foss isnt it?
<benzrf> *the hosting software
<shevy> benzrf making the gem is fine
<shevy> problem is, on rubygems.org, if you have a project called 'haskell', whoever is the first to take this name gets to keep it
jmo has joined #ruby
<shevy> I could rename my gem/project to 'haskell2' but I refuse to use something like: require 'haskell2' when require 'haskell' is so much nicer
<shevy> I think there is some way to tell gem to use another remote host
<waxjar> shevy: the name of the gem doesn't have to be the same as the name you require it with
<waxjar> it causes confusion, though
<shevy> waxjar moment... let me try to understand your sentence first :-)
<shevy> yeah, I am confused right now ;)
horofox has joined #ruby
Brolen has joined #ruby
<pontiki> the --source flag can allow another library
<shevy> ah
achru has quit [Ping timeout: 260 seconds]
<shevy> waxjar, you mean like, to give it another official name, but internally you would keep on using require 'original_name_i_wanted_to_use' ?
<waxjar> yes
<benzrf> shevy: waxjar means that 'gem install foo' can be required with 'require 'thingy''
<shevy> I see, wasn't thinking of that
<benzrf> because the file in the gem may not be the gem name
<shevy> yeah benzrf I get it now
<shevy> hey, I am not dumb, only slow!
<benzrf> ;p
<benzrf> shevy: are you going to any RL ruby conventions? if so I should go to the same one as you
maximumgeek has joined #ruby
<benzrf> then I can ambush you with haskell code samples
<benzrf> BUT IN REAL LIFE
<benzrf> ferr: ima look
<ferr> ty
<ferr> just don't laugh too hard
<benzrf> ferr: why are you using '.+'
rankine has joined #ruby
rankine has quit [Changing host]
rankine has joined #ruby
<ferr> doesn't it mean add one to itself?
<benzrf> no
<ferr> ok
<benzrf> theres a few bugs in this code
<benzrf> but the basic idea seems OK
smathieu has joined #ruby
<benzrf> first of all, you can't see text from inside the method
<benzrf> scoping does not work that way
<benzrf> and even if you could, that is the wrong way to do it
<benzrf> text would stay the same between method calls
<benzrf> and each time you call it you get all of the previous plus the current
<benzrf> see what im saying?
<ferr> yes
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf> ok
<benzrf> I recommend using each_with_object instead of each
<benzrf> it will pass the same object into the method each time and then return it at the end
<benzrf> watch this:
<benzrf> foo = ""
sassamo has quit [Remote host closed the connection]
<benzrf> [1, 2, 3].each {|n| foo << n.to_s}
<benzrf> foo
<benzrf> all that is the same as this:
<benzrf> [1, 2, 3].each_with_object("") {|n, foo| foo << n.to_s}
sassamo has joined #ruby
abra has quit [Ping timeout: 252 seconds]
<benzrf> foo will be the same object each time
<benzrf> and the string passed to it is the starting value
<benzrf> then it will finally output the value after it has been changed (or not) for each value in the array
<benzrf> anyway g2g sorry :\
yasushi has quit [Remote host closed the connection]
benzrf has left #ruby [#ruby]
<ferr> so the second example is the way how to do it?
<ferr> thanks your your time
<zxd> test
brennanMKE has joined #ruby
pwh has joined #ruby
<waxjar> test passed
abra has joined #ruby
johnmilton has joined #ruby
<shevy> lies!!!
Hanmac1 has joined #ruby
sassamo has quit [Ping timeout: 265 seconds]
ando has quit [Ping timeout: 265 seconds]
sassamo has joined #ruby
<shevy> thanks pontiki, I think "gem sources" will work fine
Hanmac has quit [Ping timeout: 272 seconds]
shedd has joined #ruby
bittyx has quit [Remote host closed the connection]
Chillectual is now known as LinearInterpol
JuanDaugherty has joined #ruby
flubba has joined #ruby
switchspan has joined #ruby
<waxjar> ferr, instead of using two Arrays, you could use a Hash
qurve has joined #ruby
lioninawhat has quit [Remote host closed the connection]
Yan__ has joined #ruby
<qurve> Hey all, what is the "best" core lib/gem to use currently for opening commands and being able to interact with stdout/in/err/pid/return? I'm looking at the open4 gem by ahoward which seems to be somewhat popular, are there any better options?
<qurve> I'm using ruby 2.0 for everything, but supporting 1.9 would be nice as well.
shedd has quit [Ping timeout: 246 seconds]
jamesaanderson has joined #ruby
<qurve> I've never actually had to do this before, so pretty much anyone will have a better opinion than me.
smathieu has quit [Remote host closed the connection]
<qurve> The actual use case is for kicking off the chef omnibus installer from within a thor command and wanting to be able to interact with it as necessary.
smathieu has joined #ruby
ringaroses2 has quit [Ping timeout: 252 seconds]
smathieu_ has joined #ruby
ahawkins_ has joined #ruby
horofox has quit [Quit: horofox]
mehlah has quit [Ping timeout: 264 seconds]
klaut_ has quit [Remote host closed the connection]
ziyadb has joined #ruby
Galgorth has quit [Quit: Galgorth]
Asher has joined #ruby
smathieu has quit [Ping timeout: 260 seconds]
burlyscudd has joined #ruby
Brolen has quit [Quit: Brolen]
lioninawhat has joined #ruby
<shevy> I am still using 1.9.3
<shevy> I can't upgrade yet due to my system being described in invalid yaml files
dukz has quit [Remote host closed the connection]
ahawkins_ has quit [Ping timeout: 245 seconds]
smathieu_ has quit [Ping timeout: 252 seconds]
_honning_ has joined #ruby
<ferr> is it the same with the while loop as .each iterator as adding more text to variable doesn't work?
qurve has quit [Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131205075310]]
Gu_______ has joined #ruby
drumusician has joined #ruby
kung has quit [Read error: Connection reset by peer]
switchspan has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<shevy> hmm?
kung has joined #ruby
<shevy> benzrf left
<ferr> so I am asking the other who are still here
<ferr> I'm doing my exercises for 8 hours and not really sure if I am so dumb
rankine has quit [Ping timeout: 260 seconds]
Yan__ has quit [Ping timeout: 252 seconds]
frxx has left #ruby [#ruby]
lioninawhat has quit [Remote host closed the connection]
fijimunkii has quit [Ping timeout: 252 seconds]
Galgorth has joined #ruby
<canton7> ferr, not sure what you meabn
<canton7> *mean
petey has joined #ruby
mojjojo has quit [Quit: mojjojo]
sethen has joined #ruby
Seldan has joined #ruby
Seldan is now known as Mahiro
cbetta is now known as cbetta_afk
Mahiro has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
Nikkitou has joined #ruby
vlad_starkov has joined #ruby
smathieu has joined #ruby
shedd has joined #ruby
apeiros has joined #ruby
mojjojo has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bittyx-desktop has joined #ruby
<Nikkitou> Hello
vlad_sta_ has quit [Ping timeout: 272 seconds]
Butcho has joined #ruby
<bittyx-desktop> Hiya. I need Ruby in order to install/use sass (http://sass-lang.com). Which Ruby version should I install?
lioninawhat has joined #ruby
brtdv has joined #ruby
shedd has quit [Remote host closed the connection]
lioninawhat has quit [Remote host closed the connection]
lioninawhat has joined #ruby
Xaitec has joined #ruby
<canton7> bittyx-desktop, when in doubt, go for the latest stable
Megtastique has joined #ruby
bean has joined #ruby
Advocation has quit [Quit: Advocation]
<bittyx-desktop> canton7: Actually, in the meantime, I've searched through sass's github issues, and found that 2.1.0 breaks some compatibility, and their .travis.yml file lists 1.9.3 as the latest version their run their tests for, so I figure I'll go for that. Thanks for the tip, though.
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<canton7> cool
mneorr has joined #ruby
mehlah has joined #ruby
zoscoy has joined #ruby
vlad_starkov has joined #ruby
bean has quit [Ping timeout: 272 seconds]
horofox_ has joined #ruby
jkhwan has joined #ruby
zxd has quit [Ping timeout: 264 seconds]
mary5030 has joined #ruby
IceDragon has quit [Ping timeout: 260 seconds]
IceDragon_ has joined #ruby
klaut has joined #ruby
mneorr has quit [Ping timeout: 264 seconds]
spider-mario has joined #ruby
horofox_ has quit [Client Quit]
IceDragon_ is now known as IceDragon
klaut has quit [Read error: Connection reset by peer]
klaut has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
xcfox has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
vlad_sta_ has joined #ruby
burlyscudd has quit [Quit: Leaving.]
razibog has joined #ruby
Butcho has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zigomir has quit [Remote host closed the connection]
tt1187 has quit [Ping timeout: 260 seconds]
zigomir has joined #ruby
burlyscudd has joined #ruby
bittyx-desktop is now known as bittyx
Hanmac has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
veterinarian has joined #ruby
smathieu has quit [Remote host closed the connection]
Hanmac1 has quit [Ping timeout: 245 seconds]
smathieu has joined #ruby
ferr has quit [Ping timeout: 264 seconds]
zigomir has quit [Ping timeout: 260 seconds]
bittyx has quit [Quit: Leaving]
zcreative has joined #ruby
keen_ has joined #ruby
Yan__ has joined #ruby
allaire has joined #ruby
Butcho has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
Paradox has quit [Ping timeout: 240 seconds]
veterinarian has left #ruby [#ruby]
figgleberry has joined #ruby
Paradox has joined #ruby
kayloos has joined #ruby
browndawg has quit [Quit: Leaving.]
Hanmac1 has joined #ruby
Mattx has joined #ruby
<Mattx> >> abc = {a:1, b:2, c:3}; abc.update({c: 4}); puts abc
<Mattx> > abc = {a:1, b:2, c:3}; abc.update({c: 4}); puts abc
<Mattx> result: {:a=>1, :b=>2, :c=>4}
xdrone has quit [Read error: Connection reset by peer]
<Mattx> is there a method like .update wich doesn't change the original hash?
<Mattx> I don't know why it's not called .update!
Hanmac has quit [Ping timeout: 248 seconds]
veterinarian_ has joined #ruby
Deele has joined #ruby
veterinarian_ has quit [Remote host closed the connection]
<shevy> hmm merge perhaps?
<Mattx> ah, I can use .merge
<Mattx> right
<Mattx> .update is an alias of .merge! it seems
kayloos has quit [Ping timeout: 252 seconds]
<canton7> a method ending in an exclamation mark doesn't usually mean "this method mutates"
<Butcho> trying to write a ruby script to do something like --> "curl -X POST -d request.txt http://url:port/analysis/rest/search/event -H "Content-Type:application/json" and seeing if timedOut:true or hasError:true is present, then fail the test. it's for a nagios script. New to ruby but trying too dive right in.
blackmesa has joined #ruby
<shevy> the ! nomenclature in ruby is a bit wobbly
<Mattx> canton7, doesn't usually?
<Mattx> it does in 90% of cases
<shevy> class String has replace() method
petey has quit [Remote host closed the connection]
<canton7> rather, in the standard library, exclamation marks only generally appear on methods which have a non-exclamation-mark counterpoint
Yan__ has quit [Ping timeout: 264 seconds]
<canton7> (i.e. for every foo! there's a foo)
<shevy> but there is no replace!()
<canton7> and it marks that variant as being the more dangerous, or doing the more unexpected thing
petey has joined #ruby
<shevy> >> puts 'test'
<shevy> the bot is still down :(
<shevy> the new year was bad for the bot
CaptainJet has joined #ruby
butblack has joined #ruby
<shevy> Mattx, x = "abx"; x.replace 'hi'; x # => "hi"
bashdy has joined #ruby
phansch_ has joined #ruby
mklappstuhl has joined #ruby
enebo has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
phansch has quit [Ping timeout: 246 seconds]
petey has quit [Read error: Operation timed out]
mklappstuhl has quit [Read error: Connection reset by peer]
ahawkins_ has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
keen_ has quit [Quit: Tiarra 0.1: SIGTERM received; exit]
tylersmith has joined #ruby
keen_ has joined #ruby
keen_ has quit [Client Quit]
Megtastique has quit []
keen_ has joined #ruby
Butcho has quit [Quit: Textual IRC Client: www.textualapp.com]
keen_ has quit [Client Quit]
<Hanmac1> shevy what about !! methods which are more dangerous variants than the ! methods? ;D
Hanmac1 is now known as Hanmac
keen_ has joined #ruby
<shevy> well
xdrone has joined #ruby
<shevy> I dont like the ! usually because they look ugly
<shevy> so methods with !! would look even uglier
Fabz has quit [Ping timeout: 272 seconds]
<shevy> but one can save off characters with it so at least this is nice
cbetta_afk is now known as cbetta
<shevy> x.gsub! vs x = x.gsub
gja has joined #ruby
* canton7 has seen too many bugs caused by people doing that to object that were passed into some method
relix has joined #ruby
yarou has quit [Quit: This computer has gone to sleep]
ahawkins_ has quit [Ping timeout: 248 seconds]
relix has quit [Client Quit]
<shevy> heeh
achru has joined #ruby
* Hanmac always laugh about users that try to chain ! methods ;P
bricker`LA has quit [Quit: leaving]
<canton7> and that!
smiles_ has joined #ruby
smiles_ has quit [Max SendQ exceeded]
<IceDragon> Hanmac.tap(&:boss!).tap(&:rubyist!).tap(&:for_the_win!).yeah!
<Hanmac> yeah Icy that how it works, but the most users does not know it
<IceDragon> :3
smiles_ has joined #ruby
smiles_ has quit [Max SendQ exceeded]
smiles_ has joined #ruby
<sickweezle> What the heck?
* sickweezle fails at understanding what IceDragon wrote. :(
<IceDragon> bang! methods don't usually return self
smiles_ has quit [Client Quit]
<IceDragon> so we use tap instead :3
<IceDragon> What tap does, is gives you self, and returns self
<sickweezle> The &: bit?
decoponio has quit [Quit: Leaving...]
<IceDragon> Symbol#to_proc
zcreative has quit [Quit: Computer has gone to sleep.]
<IceDragon> [1, 2, 3].map(&:succ) # => 2, 3, 4
kiba has quit [Ping timeout: 245 seconds]
drumusician has quit [Remote host closed the connection]
<sickweezle> Hm. Sort of get it. ^^;
<IceDragon> try it yourself
<sickweezle> Aye. i'm going to have to play with it later.
drumusician has joined #ruby
<IceDragon> ;3 You'll be abusing ruby's sugar in no time
<sickweezle> I get the pleasure of shopping with a niece and the wife....... >.<
<IceDragon> ...
* IceDragon is single...
* IceDragon weeps in corner
<IceDragon> 4EvaAlone
yarou has joined #ruby
yarou has joined #ruby
yarou has quit [Changing host]
* sickweezle hugs IceDragon
baroquebobcat has joined #ruby
freebs has joined #ruby
Dwarf has quit [Ping timeout: 240 seconds]
flame_ has quit [Quit: Computer has gone to sleep.]
<sickweezle> thankee for the info! :)
relix has joined #ruby
Dwarf has joined #ruby
shedd has joined #ruby
freebs1 has joined #ruby
mary5030_ has joined #ruby
<Hanmac> sickweezle: about ! methods ... for sample String#upcase! only returns self when the string has changed ... so you can use it in a if condition
Bumptiou_ has joined #ruby
freebs has quit [Ping timeout: 240 seconds]
sharms has quit [Ping timeout: 240 seconds]
davorb has quit [Ping timeout: 240 seconds]
kapowaz has quit [Ping timeout: 240 seconds]
<shevy> IceDragon looks like you got a follower
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
XxLocutusxX has joined #ruby
<IceDragon> :O
XxLocutusxX has left #ruby [#ruby]
davorb has joined #ruby
kapowaz has joined #ruby
<IceDragon> An apprentice!?
<shevy> or a virgin
<shevy> well ok
<shevy> could be both in one actually
mary5030 has quit [Ping timeout: 240 seconds]
Bumptious has quit [Ping timeout: 240 seconds]
<IceDragon> :x
sharms has joined #ruby
tt1187 has joined #ruby
shedd has quit [Ping timeout: 246 seconds]
gja has quit [Quit: This computer has gone to sleep]
<pontiki> i'm just wondering what exception .yeah! raises when it fails...
<pontiki> YeahRightError
<IceDragon> XD
<pontiki> gods, i should implement that
mneorr has joined #ruby
<pontiki> it's PERFECT
<shevy> lol
<shevy> make it a project
<shevy> gem install yeah
<pontiki> ikr?
<pontiki> ooo
<pontiki> .ikr?
<shevy> ERROR: Could not find a valid gem 'yeah!' (>= 0) in any repository
<pontiki> .ftw v. .ftw!
<IceDragon> (1 == 1).ikr?
<pontiki> there could be a whole module of these
<pontiki> mix it in to Object
workmad3 has joined #ruby
<shevy> Fetching: yeah-0.2.2.gem (100%)
<shevy> Successfully installed yeah-0.2.2
<shevy> damn
<shevy> it already exists
<shevy> RDoc::Parser::Ruby failure around line 7 of
<shevy> lib/yeah.rb
<shevy> but whoever wrote it was incompetent
<shevy> or perhaps the rdoc author was incompetent ;)
croaky has joined #ruby
<pontiki> description: Programming video games should have a positive impact on your health!
<pontiki> summary: The positive video game framework
jkhwan has joined #ruby
mneorr has quit [Ping timeout: 246 seconds]
drumusician has quit [Remote host closed the connection]
<pontiki> crikey, ftw exists too
<shevy> lol
drumusician has joined #ruby
tjaco has joined #ruby
<pontiki> this is like the JS library drinking game
smiles_ has joined #ruby
mneorr has joined #ruby
smiles_ has quit [Max SendQ exceeded]
<pontiki> think of a noun, add .js. if it exists, take a drink
<pontiki> lots of drunk javascripters out there
<pontiki> ikr is open!!
<IceDragon> marijuana.js # smoke the competition with the most competent web framework to date!
amedeiros has quit [Ping timeout: 272 seconds]
alexherbo2 has joined #ruby
drumusician has quit [Read error: Connection reset by peer]
mklappstuhl has joined #ruby
tjaco has quit [Read error: Connection reset by peer]
m-o-s has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
smathieu has joined #ruby
smiles_ has joined #ruby
drumusician has joined #ruby
tjaco has joined #ruby
grep_away is now known as grep_awesome
bashdy has quit []
Megtastique has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tjaco has quit [Client Quit]
drumusician has quit [Client Quit]
psyl0n has quit [Remote host closed the connection]
relix has joined #ruby
relix has quit [Client Quit]
mzemel has joined #ruby
drumusician has joined #ruby
mklappstuhl has quit [Ping timeout: 272 seconds]
endash has joined #ruby
toastynerd has joined #ruby
Advocation has joined #ruby
mojjojo has quit [Quit: mojjojo]
toastynerd has quit [Remote host closed the connection]
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
amedeiros has joined #ruby
wildroman2 has quit [Remote host closed the connection]
zipper has joined #ruby
m-o-s has quit []
smiles_ has quit [Ping timeout: 248 seconds]
<Nikkitou> when i execute this piece of code with ruby ./test.rb it prints 3 times exit (Is it raising some kind of ExitExeption?), when i run it from irb it actually exits as i expected it to (this is what irritates me). Why does that happen? Shouldnt the same happen in both cases? can someone here please help me? http://pastebin.com/mfMFbyqe
landon__ has left #ruby [#ruby]
landon__ has joined #ruby
kep has quit [Quit: WeeChat 0.4.2]
<apeiros> Nikkitou: yes, exit raises SystemExit
<apeiros> you should NOT rescue Exception
<apeiros> rescue defaults to StandardError, and that's what you should use at max too.
<apeiros> Exception will rescue things you really shouldn't rescue.
asteve has joined #ruby
asteve has quit [Max SendQ exceeded]
<Nikkitou> thanks
MatthewsFace has joined #ruby
<Nikkitou> Though i wonder why irb actually exits now.
asteve has joined #ruby
<Nikkitou> shouldn't it also just print exit then?
nateberkopec has joined #ruby
toastynerd has joined #ruby
<pontiki> ok, folks, here we go: https://github.com/tamouse/i_know_right
Dwarf has quit [Ping timeout: 240 seconds]
gregoriokusowski has joined #ruby
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
Dwarf has joined #ruby
goganchic has quit []
fijimunkii has joined #ruby
deepender has joined #ruby
<deepender> $.:;
<shevy> pontiki :P
<deepender> $:.
<deepender> can anyone tell what this does in ruby $:.
<deepender> anyone:
zipper has quit [Ping timeout: 264 seconds]
ahawkins_ has joined #ruby
klaut has quit [Remote host closed the connection]
baroquebobcat_ has joined #ruby
<pontiki> deepender: by itself, not much
teenwolf has joined #ruby
figgleberry has quit [Ping timeout: 264 seconds]
lioninawhat_ has joined #ruby
<pontiki> $: is the ruby variable for the load path, and thus is an array
virtual|a has joined #ruby
JoeTheGuest_ has joined #ruby
hostess_ has joined #ruby
<pontiki> the . must be followed by a method
<deepender> yes it is unshift
mneorr_ has joined #ruby
<deepender> thanks pontiki:
bsdbofh_ has joined #ruby
<pontiki> $:.unshift <dirname> prepends that directory name onto the load path
iaj_ has joined #ruby
<deepender> yes
<deepender> that's what it is doing
Waheed has joined #ruby
hostess has quit [Ping timeout: 246 seconds]
JoeTheGuest has quit [Ping timeout: 246 seconds]
bmn has quit [Ping timeout: 246 seconds]
yazdmich has quit [Ping timeout: 246 seconds]
JoeTheGuest_ is now known as JoeTheGuest
<deepender> pontiki any good source for this precise information about ruby
mosez_ has joined #ruby
Signum_ has joined #ruby
brandon has joined #ruby
xxi has joined #ruby
RKornmeyer has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 246 seconds]
lioninawhat has quit [Ping timeout: 246 seconds]
doodlehaus has joined #ruby
RKornmeyer_ has joined #ruby
smathieu has quit [Remote host closed the connection]
Haegin_ has joined #ruby
<pontiki> pickaxe book is probably the best
ahawkins_ has quit [Ping timeout: 240 seconds]
rotor` has joined #ruby
poutine has quit [Ping timeout: 246 seconds]
PaulePan1er has joined #ruby
yarou_ has joined #ruby
brandon is now known as Guest92027
grep_away has joined #ruby
nick_h has quit [Ping timeout: 246 seconds]
rotor has quit [Ping timeout: 246 seconds]
grep_awesome has quit [Ping timeout: 246 seconds]
baroquebobcat has quit [Ping timeout: 246 seconds]
Veejay has quit [Ping timeout: 246 seconds]
DefV has quit [Ping timeout: 246 seconds]
yarou has quit [Ping timeout: 246 seconds]
mneorr has quit [Ping timeout: 246 seconds]
rotor` is now known as rotor
eval-in has quit [Ping timeout: 246 seconds]
iaj has quit [Ping timeout: 246 seconds]
faulkner has quit [Ping timeout: 246 seconds]
virt|away has quit [Ping timeout: 246 seconds]
ahuman has quit [Ping timeout: 246 seconds]
Koshian has quit [Ping timeout: 246 seconds]
rf has quit [Ping timeout: 246 seconds]
Schmidt has quit [Ping timeout: 246 seconds]
PaulePanter has quit [Ping timeout: 246 seconds]
__main__ has quit [Ping timeout: 246 seconds]
wormwood has quit [Ping timeout: 246 seconds]
baroquebobcat_ is now known as baroquebobcat
bmn has joined #ruby
smathieu has joined #ruby
lsc1 has joined #ruby
nwkr has joined #ruby
DefV has joined #ruby
eval-in has joined #ruby
wormwood has joined #ruby
workmad3 has joined #ruby
nick_h has joined #ruby
<Waheed> how to know if res (http.request) is giving any errors or not
<Waheed> like 403 or 404
ozzloy_ has joined #ruby
butblack has quit [Quit: butblack]
Veejay has joined #ruby
guilund has joined #ruby
rf has joined #ruby
<guilund> hi guys
<guilund> and gurlz
<apeiros> Waheed: a) the class itself tells you, b) there's a method (.code or something)
<Waheed> I'm sure it tells me apeiros :) but I'm asking for the syntax
<Waheed> thanks for the tip apeiros
<guilund> i have a helper method and it dont works inside a .map
<Waheed> its .code apeiros
<apeiros> Waheed: you mean you don't know how to test what class your object has?
<Waheed> res.class.name
<apeiros> …
<Waheed> thanks apeiros :0
<apeiros> that's a rather eeewy way
BombAw has joined #ruby
<guilund> helper methods usually dont work inside a .map?
<apeiros> res.is_a?(someclass)
<guilund> its a method to normalize and parameterize a string...
<apeiros> guilund: there's no such thing as "helper methods" in ruby. do you talk about rails/views?
<guilund> oh !
<guilund> wrong channel :)
<guilund> its rails stuff
ahuman has joined #ruby
yazdmich has joined #ruby
smathieu has quit [Ping timeout: 272 seconds]
poutine has joined #ruby
Koshian has joined #ruby
Dwarf has quit [Ping timeout: 240 seconds]
xea_ is now known as xea
brtdv has quit [Ping timeout: 246 seconds]
mosez has quit [Ping timeout: 246 seconds]
zarul has quit [Ping timeout: 246 seconds]
dh64 has quit [Ping timeout: 246 seconds]
ozzloy has quit [Ping timeout: 246 seconds]
BombStrike has quit [Ping timeout: 246 seconds]
bsdbofh has quit [Ping timeout: 246 seconds]
Nowaker has quit [Ping timeout: 246 seconds]
Signum has quit [Ping timeout: 246 seconds]
Guest61817 has quit [Ping timeout: 246 seconds]
ixx has quit [Ping timeout: 246 seconds]
Haegin has quit [Ping timeout: 246 seconds]
sethen has quit [*.net *.split]
mzemel has quit [*.net *.split]
BombAw is now known as BombStrike
faulkner has joined #ruby
zarul has joined #ruby
<shevy> all my methods are helpful
yarou_ has quit [Quit: This computer has gone to sleep]
zarul has quit [Max SendQ exceeded]
<shevy> sometimes I even extra denote how helpful they are
<shevy> def truly_helpful_one
__main__ has joined #ruby
relix has joined #ruby
Megtastique has quit []
zarul has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexherbo2 has joined #ruby
Megtastique has joined #ruby
doodleha_ has joined #ruby
amedeiro_ has joined #ruby
tt1187 has quit [Ping timeout: 252 seconds]
apeiros_ has joined #ruby
tt1187 has joined #ruby
ahuman_ has joined #ruby
Waheed has quit [Quit: Waheed]
Sp4rKy has quit [Ping timeout: 245 seconds]
carraroj has joined #ruby
jamesaanderson has joined #ruby
Signum has joined #ruby
Signum has quit [Changing host]
Signum has joined #ruby
m00nlight_ has quit [Read error: Connection reset by peer]
smathieu has joined #ruby
ahuman__ has joined #ruby
ixx has joined #ruby
ixx is now known as Guest36743
arietis has quit [Quit: Computer has gone to sleep.]
Megtastique has quit []
m00nlight__ has joined #ruby
jamesaanderson has quit [Client Quit]
aryaching_ has joined #ruby
allaire has quit [Ping timeout: 248 seconds]
keen_ has quit [Ping timeout: 248 seconds]
apeiros has quit [Ping timeout: 248 seconds]
Koshian has quit [Ping timeout: 248 seconds]
xxi has quit [Ping timeout: 248 seconds]
Signum_ has quit [Ping timeout: 248 seconds]
spider-mario has quit [Ping timeout: 248 seconds]
yazdmich|znc has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
avalarion has joined #ruby
joaoh82_ has joined #ruby
Pixels_ has joined #ruby
DefV_ has joined #ruby
yazdmich has quit [*.net *.split]
ahuman has quit [*.net *.split]
ozzloy_ has quit [*.net *.split]
RKornmeyer_ has quit [*.net *.split]
doodlehaus has quit [*.net *.split]
amedeiros has quit [*.net *.split]
sharms has quit [*.net *.split]
Bumptiou_ has quit [*.net *.split]
drumusician has quit [*.net *.split]
Paradox has quit [*.net *.split]
mehlah has quit [*.net *.split]
LBRapid has quit [*.net *.split]
hoelzro has quit [*.net *.split]
justinmcp has quit [*.net *.split]
bedouin has quit [*.net *.split]
ddv has quit [*.net *.split]
alol has quit [*.net *.split]
andrewstewart has quit [*.net *.split]
utkarsh has quit [*.net *.split]
ConstantineXVI has quit [*.net *.split]
aetaric has quit [*.net *.split]
jaybe has quit [*.net *.split]
psyprus has quit [*.net *.split]
drPoggs has quit [*.net *.split]
blooberr_ has quit [*.net *.split]
xiphias has quit [*.net *.split]
TheShaun has quit [*.net *.split]
adambeynon has quit [*.net *.split]
anekos_ has quit [*.net *.split]
malcolmva has quit [*.net *.split]
artgoeshere has quit [*.net *.split]
[Neurotic] has quit [*.net *.split]
dziga has quit [*.net *.split]
poikon has quit [*.net *.split]
frem has quit [*.net *.split]
Jakee` has quit [*.net *.split]
mattyohe has quit [*.net *.split]
rurban has quit [*.net *.split]
shaileshg____ has quit [*.net *.split]
mostlybadfly has quit [*.net *.split]
Nightmare has quit [*.net *.split]
sophomorical has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
seich- has quit [*.net *.split]
mjmac has quit [*.net *.split]
blo has quit [*.net *.split]
sayd has quit [*.net *.split]
mbff has quit [*.net *.split]
zz_jrhorn424 has quit [*.net *.split]
kenichi has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
keen_ has joined #ruby
yazdmich|znc is now known as yazdmich
Advocation has quit [Quit: Advocation]
Koshian has joined #ruby
ozzloy has joined #ruby
ozzloy has quit [Changing host]
ozzloy has joined #ruby
jwest1 has joined #ruby
<Mattx> hey guys
<shevy> hey girl
maletor has joined #ruby
doodlehaus has joined #ruby
<Mattx> is there a way to parse "{hello: ['goodbye']}" as JSON?
<Mattx> JSON.parse crashes
kayloos has joined #ruby
<shevy> well, what is this?
mcdk has joined #ruby
sam113101_ has joined #ruby
<shevy> x = '"{hello: ['goodbye']}"'
<shevy> ?
<shevy> or
<Mattx> no no
maletor has quit [Client Quit]
<Mattx> x = "..."
russfrank has joined #ruby
brennanM_ has joined #ruby
martxel_ has joined #ruby
<shevy> ok
amedeiro_ is now known as amedeiros
spider-mario has joined #ruby
<shevy> yeah it says there is an unexpected token
_main_ has joined #ruby
jkhwan has joined #ruby
<Mattx> right
mgolisch_ has joined #ruby
<shevy> I would assume that it is invalid as it is
gomix1 has joined #ruby
<Mattx> it is invalid, yes
<Mattx> but it's the result of an API
ahuman_ has quit [*.net *.split]
relix has quit [*.net *.split]
__main__ has quit [*.net *.split]
zarul has quit [*.net *.split]
<Mattx> I mean, I "can't" change it
<shevy> but it is a string or? so you can change the string
iMe has quit [Ping timeout: 246 seconds]
croaky has quit [Ping timeout: 272 seconds]
<Mattx> it's a string
maletor has joined #ruby
<Mattx> come on, are you suggesting that I use gsub for example to add quotes where missing?
joaoh82 has quit [Ping timeout: 260 seconds]
shaker75 has quit [Read error: Connection reset by peer]
felipe has quit [Ping timeout: 260 seconds]
specious_ has quit [Ping timeout: 260 seconds]
gomix has quit [Ping timeout: 260 seconds]
nfk has quit [Ping timeout: 260 seconds]
Drakevr has quit [Ping timeout: 260 seconds]
DefV has quit [Ping timeout: 260 seconds]
intuxicated_ has quit [Ping timeout: 260 seconds]
threesome has quit [Ping timeout: 260 seconds]
aryaching has quit [Ping timeout: 260 seconds]
jwest has quit [Ping timeout: 260 seconds]
shreknet has quit [Ping timeout: 260 seconds]
Pixels has quit [Ping timeout: 260 seconds]
doodleha_ has quit [Ping timeout: 260 seconds]
brennanMKE has quit [Ping timeout: 260 seconds]
hellome has quit [Ping timeout: 260 seconds]
xcfox has quit [Ping timeout: 260 seconds]
YOURBESTFRIEND has quit [Ping timeout: 260 seconds]
rf has quit [Ping timeout: 260 seconds]
mgolisch has quit [Ping timeout: 260 seconds]
Killerkeksdose has joined #ruby
Sp4rKy_ has joined #ruby
Killerkeksdose_ has quit [Ping timeout: 260 seconds]
Martxel has quit [Ping timeout: 260 seconds]
LexicalScope has joined #ruby
LexicalScope` has joined #ruby
LexicalScope has joined #ruby
<shevy> I dont know precisly what is valid for json
zipper has joined #ruby
<Mattx> for this particular case I would have to add ' around hello
Drakevr has joined #ruby
eka has joined #ruby
flubba has quit [Ping timeout: 264 seconds]
<Mattx> I can do that, but it's insane
yarou_ has joined #ruby
<shevy> lemme test
_main_ is now known as __main__
ozzloy has quit [Ping timeout: 248 seconds]
<shevy> hmm
<apeiros_> Mattx: no, it's not valid JSON, thus it can't be parsed as JSON
<apeiros_> referring to "{hello: ['goodbye']}"
apeiros_ is now known as apeiros
anekos_ has joined #ruby
<Mattx> I don't need it to be parsed as json
ozzloy has joined #ruby
ozzloy has joined #ruby
ozzloy has quit [Changing host]
<shevy> Mattx I added '' around hello but it still fails
<apeiros> because you need "
<Mattx> I need it to be parsed as <call it x>, and return a hash
threesome has joined #ruby
<Mattx> :P
motto has joined #ruby
xdrone has quit [Ping timeout: 252 seconds]
Pixels_ is now known as Pixels
simoz12 has joined #ruby
iMe has joined #ruby
<Mattx> if I'm not wrong JSON in ruby supports pure and ext parse
<Mattx> both of them fail
JJMalina has joined #ruby
amedeiro_ has joined #ruby
eka has quit [Client Quit]
awarner_ has joined #ruby
amedeiro_ is now known as amedeiros_
epscylonb has joined #ruby
sethen has joined #ruby
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
drumusician has joined #ruby
Galgorth_ has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
<apeiros> d'oh, wanted to recommend literal parser, but that doesn't (yet) parse `foo:` style hash-keys :-/
<apeiros> eval would work, but that's usually a horribly bad idea
smathieu is now known as 17WAAPJ3M
zarul has joined #ruby
smathieu has joined #ruby
malcolmva has joined #ruby
intuxicated_ has joined #ruby
JZTech102 has joined #ruby
tonini_ has joined #ruby
bgy_ has joined #ruby
zarul has quit [Max SendQ exceeded]
Beoran__ has joined #ruby
amedeiros has quit [Killed (hubbard.freenode.net (Nickname regained by services))]
amedeiros_ is now known as amedeiros
tylersmi_ has joined #ruby
<Mattx> yeah
<Mattx> :|
spacemud_ has joined #ruby
wmoxam_ has joined #ruby
kirun_ has joined #ruby
egyp7 has joined #ruby
lioninawhat_ is now known as lioninawhat
Kilobyte|StupidC has joined #ruby
zarul has joined #ruby
kiki_lam1 has joined #ruby
relix has joined #ruby
momomomomo has joined #ruby
digifiv5e has joined #ruby
jwang_ has joined #ruby
micah`_ has joined #ruby
nick_h_ has joined #ruby
Kov|kasumi has joined #ruby
brandon_ has joined #ruby
fella5s has joined #ruby
mephux_ has joined #ruby
mephux_ has joined #ruby
devyn_ has joined #ruby
mgolisch has joined #ruby
lukec_ has joined #ruby
Senjai has joined #ruby
arclitgold has joined #ruby
Advocation has joined #ruby
zipper_ has joined #ruby
Jelco_ has joined #ruby
n88_ has joined #ruby
_class_ has joined #ruby
mehlah has joined #ruby
pierre1_ has joined #ruby
zoscoy|2 has joined #ruby
ageis_ has joined #ruby
ozzloy has quit [Ping timeout: 276 seconds]
poutine has quit [Ping timeout: 276 seconds]
Waheed has joined #ruby
asteve_ has joined #ruby
ozzloy has joined #ruby
ozzloy has quit [Changing host]
ozzloy has joined #ruby
jmo_ has joined #ruby
chiel_ has joined #ruby
zoscoy|3 has joined #ruby
zoscoy|3 has quit [Read error: Connection reset by peer]
croaky has joined #ruby
xargoon_ has joined #ruby
kiki_lam2 has joined #ruby
epscy has quit [Read error: Operation timed out]
chiel has quit [Read error: Operation timed out]
Kovensky has quit [Read error: Operation timed out]
bgy has quit [Read error: Operation timed out]
Galgorth has quit [Read error: Connection reset by peer]
Kilo`byte has quit [Read error: Operation timed out]
JZTech101 has quit [Read error: Operation timed out]
mgolisch_ has quit [Read error: Operation timed out]
tonini has quit [Read error: Operation timed out]
thomasvs has quit [Read error: Operation timed out]
Beoran_ has quit [Read error: Operation timed out]
guilund has quit [Read error: Operation timed out]
nateberkopec has quit [Ping timeout: 265 seconds]
SeySayux has quit [Ping timeout: 265 seconds]
awarner has quit [Read error: Operation timed out]
spacemud has quit [Read error: Operation timed out]
kirun has quit [Read error: Operation timed out]
lkba has quit [Read error: Operation timed out]
egypt has quit [Ping timeout: 265 seconds]
zz_N00D has quit [Ping timeout: 265 seconds]
Guest90805 has quit [Read error: Operation timed out]
wmoxam has quit [Read error: Operation timed out]
kiki_lamb has quit [Read error: Operation timed out]
jwang has quit [Read error: Operation timed out]
nullsign has quit [Read error: Operation timed out]
Jelco has quit [Read error: Operation timed out]
__class__ has quit [Read error: Operation timed out]
zoscoy has quit [Ping timeout: 265 seconds]
devyn has quit [Ping timeout: 265 seconds]
Senjai`work has quit [Ping timeout: 265 seconds]
micah` has quit [Ping timeout: 265 seconds]
mephux has quit [Ping timeout: 265 seconds]
nick_h has quit [Read error: Operation timed out]
n88 has quit [Read error: Operation timed out]
platzhirsch has quit [Read error: Operation timed out]
zipper has quit [Ping timeout: 265 seconds]
fella6s has quit [Read error: Operation timed out]
17WAAPJ3M has quit [Ping timeout: 265 seconds]
Guest92027 has quit [Ping timeout: 265 seconds]
teenwolf has quit [Ping timeout: 265 seconds]
asteve has quit [Ping timeout: 265 seconds]
tylersmith has quit [Ping timeout: 265 seconds]
pwh has quit [Ping timeout: 265 seconds]
Hanmac has quit [Ping timeout: 265 seconds]
lukec has quit [Ping timeout: 265 seconds]
m8 has quit [Ping timeout: 265 seconds]
anderson has quit [Ping timeout: 265 seconds]
pierre1 has quit [Ping timeout: 265 seconds]
allsystemsarego has quit [Ping timeout: 265 seconds]
ageis has quit [Ping timeout: 265 seconds]
thomasvs has joined #ruby
poutine_ has joined #ruby
crazysim has quit [Ping timeout: 265 seconds]
mephux_ is now known as mephux
Killerkeksdose_ has joined #ruby
lukec_ is now known as lukec
Galgorth_ is now known as Galgorth
thomasvs has quit [Changing host]
thomasvs has joined #ruby
allsystemsarego_ has joined #ruby
SeySayux_ has joined #ruby
SeySayux_ has joined #ruby
zoscoy|2 has quit [Client Quit]
anderson has joined #ruby
spacemud_ is now known as spacemud
pwh has joined #ruby
fijimunk1i has joined #ruby
allsystemsarego_ has quit [Client Quit]
crazysim has joined #ruby
arietis has joined #ruby
MatthewsFace has quit [Quit: Leaving]
mjc__ has joined #ruby
DouweM has quit [Quit: Leaving...]
zz_CripperZ has joined #ruby
digifiv5e_ has joined #ruby
<Mattx> I think I'm going to execute an eval
doodleha_ has joined #ruby
tonni has joined #ruby
platzhirsch has joined #ruby
undert_ has quit [Ping timeout: 260 seconds]
MatthewsFace has joined #ruby
ringaroses has joined #ruby
keen__ has joined #ruby
shime has joined #ruby
teenwolf has joined #ruby
anekos__ has joined #ruby
<platzhirsch> ah finally the #ruby topic has been updated
doodleha_ has quit [Remote host closed the connection]
jmccune has joined #ruby
n88 has joined #ruby
Beoran_ has joined #ruby
skaflem has quit [Quit: Leaving]
undert has joined #ruby
jmo has quit [Ping timeout: 260 seconds]
gregoriokusowski has quit [Ping timeout: 261 seconds]
wang has quit [Ping timeout: 261 seconds]
kiki_lam1 has quit [Ping timeout: 261 seconds]
jonathanwallace has quit [Ping timeout: 261 seconds]
xargoon has quit [Ping timeout: 261 seconds]
Killerkeksdose has quit [Ping timeout: 260 seconds]
tonni_ has quit [Ping timeout: 260 seconds]
mjc_ has quit [Ping timeout: 260 seconds]
jonathanwallace has joined #ruby
wang has joined #ruby
fijimunkii has quit [Remote host closed the connection]
digifiv5e has quit [Ping timeout: 260 seconds]
jmccune_ has quit [Ping timeout: 259 seconds]
sethen has quit [Ping timeout: 259 seconds]
zarul has quit [Ping timeout: 260 seconds]
Sp4rKy_ has quit [Ping timeout: 260 seconds]
nullsign_ has joined #ruby
wang has joined #ruby
zarul has joined #ruby
xargoon_ is now known as xargoon
wang has quit [Changing host]
zarul has joined #ruby
zarul has quit [Changing host]
devyn has joined #ruby
ringaroses1 has joined #ruby
asteve_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexherbo2 has quit [Ping timeout: 264 seconds]
LexicalScope` has quit [Ping timeout: 276 seconds]
LexicalScope has quit [Ping timeout: 276 seconds]
Nikkitou has left #ruby [#ruby]
<Mattx> I guess it's possible to eval the string using taint true or something
shedd has joined #ruby
__class__ has joined #ruby
TorpedoSkyline has quit [Ping timeout: 264 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
tylersmi_ has quit [Remote host closed the connection]
JJMalina has quit [Quit: Leaving...]
flubba has joined #ruby
Hanmac has joined #ruby
doodleha_ has joined #ruby
<apeiros> Mattx: well, I added {sym: "value"} style hash keys to literal parser just now. so that'd be an option too.
ewnd9 has quit [Ping timeout: 246 seconds]
n88_ has quit [*.net *.split]
_class_ has quit [*.net *.split]
devyn_ has quit [*.net *.split]
pierre1_ has quit [*.net *.split]
Kov|kasumi has quit [*.net *.split]
JZTech102 has quit [*.net *.split]
Beoran__ has quit [*.net *.split]
joaoh82_ has quit [*.net *.split]
keen_ has quit [*.net *.split]
threesome has quit [*.net *.split]
doodlehaus has quit [*.net *.split]
anekos_ has quit [*.net *.split]
<Mattx> you added where?
TorpedoSkyline has joined #ruby
<apeiros> to the LiteralParser gem
mroth has quit [Ping timeout: 264 seconds]
<Mattx> let me check
<apeiros> $ pry -Ilib -rliteral_parser
<apeiros> => {:hello=>["goodbye"]}
<apeiros> [1] pry(main)> LiteralParser.parse("{hello: ['goodbye']}")
JZTech101 has joined #ruby
<apeiros> I haven't pushed it yet
<Mattx> cool
nateberkopec has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
Sp4rKy has joined #ruby
Kovensky has joined #ruby
shedd has quit [Ping timeout: 260 seconds]
ringaroses2 has joined #ruby
petey has joined #ruby
wang_ has joined #ruby
joaoh82 has joined #ruby
aryaching has joined #ruby
Xaitec has quit [Remote host closed the connection]
ItSANgo has joined #ruby
m8 has joined #ruby
arclitgold has quit [Quit: leaving]
felixjet_ has joined #ruby
codenapper is now known as 21WAB3P0J
codenapper has joined #ruby
timonv_ has joined #ruby
ahawkins_ has joined #ruby
zumba_addict_ has joined #ruby
ahmedelgabri has joined #ruby
Wolland_ has joined #ruby
ahawkins_ has quit [Client Quit]
Galgorth_ has joined #ruby
virt|away has joined #ruby
robert___ has joined #ruby
robert___ has quit [Changing host]
robert___ has joined #ruby
burlyscudd1 has joined #ruby
asteve has joined #ruby
asteve has quit [Max SendQ exceeded]
mroth has joined #ruby
lioninawhat_ has joined #ruby
achru_ has joined #ruby
ereslibre_laptop has joined #ruby
aagdbl_ has joined #ruby
asteve has joined #ruby
dada has joined #ruby
dada is now known as dada123
vadviktor_ has joined #ruby
mattp_ has joined #ruby
asteve has quit [Max SendQ exceeded]
shreknet has joined #ruby
tonini has joined #ruby
micah` has joined #ruby
simoz13 has joined #ruby
hostess has joined #ruby
<apeiros> ugh, gem update is broken? :-S
soobus has quit [Ping timeout: 272 seconds]
tommyvyo_ has joined #ruby
asteve has joined #ruby
mtraptor4_ has joined #ruby
jerius has joined #ruby
<platzhirsch> ?
PaulePanter has joined #ruby
yo61_ has joined #ruby
aef_ has joined #ruby
<platzhirsch> It's probably not?
sguselnikov has joined #ruby
mephux_ has joined #ruby
wang has quit [Ping timeout: 260 seconds]
ringaroses1 has quit [Ping timeout: 260 seconds]
mattp__ has quit [Ping timeout: 260 seconds]
wykydtron has quit [Ping timeout: 260 seconds]
wykydtron has joined #ruby
BombAw has joined #ruby
Hien_ has joined #ruby
ReinH_ has joined #ruby
brandonblack_ has joined #ruby
monomyth_ has joined #ruby
<dada123> hi. i am marking a rails mountable engine. that engine is provided by the root application a config initializer "user_getter_method", and in engine there is "Engine.user_method" variable that holds a method name, for example "current_user" for Devise. Now I want to call "current_user" or whetever it is from Engine.user_method, I mean Engine.user_method is a string, but holds a method name, which I need to call. like Call Engine.user_me
willb2 has joined #ruby
miah_ has joined #ruby
_whitelogger_ has joined #ruby
Zhwazi has quit [Remote host closed the connection]
wuest has quit [Remote host closed the connection]
aep has quit [Remote host closed the connection]
kitak has quit [*.net *.split]
colonolGron has quit [Quit: leaving]
<Mattx> not working? weird
wlanboy has quit [Remote host closed the connection]
Davedo has quit [Write error: Connection reset by peer]
nomadic has quit [Write error: Connection reset by peer]
jellow has quit [Write error: Connection reset by peer]
kstephens has quit [Write error: Broken pipe]
machuga has quit [Write error: Connection reset by peer]
Davey has quit [Read error: Connection reset by peer]
Sthebig has quit [Read error: Connection reset by peer]
JuanDaugherty has quit [*.net *.split]
lewix has quit [*.net *.split]
AlSquire has quit [*.net *.split]
nowthatsamatt has quit [*.net *.split]
Mattx has quit [*.net *.split]
peterhu has quit [*.net *.split]
Czupa has quit [*.net *.split]
itamaryu has quit [*.net *.split]
rubyracer has quit [*.net *.split]
agjacome has quit [*.net *.split]
VTLob has quit [*.net *.split]
ckinni has quit [*.net *.split]
binw has quit [*.net *.split]
jcarouth has quit [*.net *.split]
gilcosson has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
sivoais has quit [*.net *.split]
bbloom has quit [*.net *.split]
Guest77105 has quit [*.net *.split]
L8D has quit [*.net *.split]
wald0 has quit [*.net *.split]
jaimef has quit [*.net *.split]
bmaland has quit [*.net *.split]
thelamest has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
m_3_ has quit [*.net *.split]
Cork has quit [*.net *.split]
Akuma has quit [*.net *.split]
terlar has quit [*.net *.split]
Xiti has quit [*.net *.split]
joast has quit [*.net *.split]
23LAAS91H has quit [*.net *.split]
Kneferilis has quit [*.net *.split]
zigidias_ has quit [*.net *.split]
jericon_ has quit [*.net *.split]
dross has quit [*.net *.split]
gregorg has quit [*.net *.split]
Derander_ has quit [*.net *.split]
Muz has quit [*.net *.split]
fflush has quit [*.net *.split]
icedp has quit [*.net *.split]
shoMo has quit [*.net *.split]
stopbit has quit [*.net *.split]
Cope has quit [*.net *.split]
skinny_much has quit [*.net *.split]
bluntman has quit [*.net *.split]
Afal has quit [*.net *.split]
deepy has quit [*.net *.split]
SecretAgent has quit [*.net *.split]
bw_ has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
dandrade has quit [*.net *.split]
uxp has quit [*.net *.split]
BeanDip has quit [*.net *.split]
AntelopeSalad has quit [*.net *.split]
fbernier has quit [*.net *.split]
sweeper has quit [*.net *.split]
patronus has quit [*.net *.split]
rtl has quit [*.net *.split]
ji0n has quit [*.net *.split]
monsieurp has quit [*.net *.split]
brjannc has quit [*.net *.split]
crazedpsyc has quit [*.net *.split]
WanderingGlitch has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
JoeTheGuest_ has joined #ruby
mpereira_ has joined #ruby
gstamp has quit [*.net *.split]
JoeTheGuest_ has joined #ruby
xsdg_ has joined #ruby
drumusician has joined #ruby
wookiehangover has joined #ruby
xargoon_ has joined #ruby
mpereira_ has joined #ruby
threesome has joined #ruby
machuga_ is now known as machuga
eshy has quit [*.net *.split]
dreamchaser has quit [Read error: Connection reset by peer]
zz_karupanerura has quit [*.net *.split]
robert___ has quit [*.net *.split]
fumduq has quit [Read error: Connection reset by peer]
Fraeon has quit [Ping timeout: 272 seconds]
camt has quit [Read error: Connection reset by peer]
kstephens_ is now known as kstephens
w4pm has quit [Ping timeout: 265 seconds]
<Waheed> where is the fucking admin :)
razibog has joined #ruby
Guest25777 has joined #ruby
lioninawhat_ has quit [Remote host closed the connection]
Advocation has quit [Quit: Advocation]
kitak has joined #ruby
xargoon_ is now known as xargoon
JoeTheGuest_ is now known as JoeTheGuest
horofox has quit [Client Quit]
RTG` has quit [Remote host closed the connection]
_whitelogger has quit [Remote host closed the connection]
roodee has quit [Ping timeout: 310 seconds]
yosafbridge has joined #ruby
Mattx has joined #ruby
agjacome has joined #ruby
lewix has joined #ruby
gilcosson has joined #ruby
nowthatsamatt has joined #ruby
Guest77105 has joined #ruby
AlSquire has joined #ruby
thelamest has joined #ruby
rubyracer has joined #ruby
Czupa has joined #ruby
bmaland has joined #ruby
bbloom has joined #ruby
JuanDaugherty has joined #ruby
VTLob has joined #ruby
michael_mbp has joined #ruby
sivoais has joined #ruby
binw has joined #ruby
ckinni has joined #ruby
jaimef has joined #ruby
jcarouth has joined #ruby
terlar has joined #ruby
L8D has joined #ruby
wald0 has joined #ruby
itamaryu has joined #ruby
Kneferilis has joined #ruby
m_3_ has joined #ruby
Akuma has joined #ruby
zigidias_ has joined #ruby
jericon_ has joined #ruby
dross has joined #ruby
Xiti has joined #ruby
Cork has joined #ruby
Derander_ has joined #ruby
23LAAS91H has joined #ruby
joast has joined #ruby
peterhu has joined #ruby
Muz has joined #ruby
fflush has joined #ruby
icedp has joined #ruby
gregorg has joined #ruby
shoMo has joined #ruby
Cope has joined #ruby
stopbit has joined #ruby
skinny_much has joined #ruby
bluntman has joined #ruby
Afal has joined #ruby
ji0n has joined #ruby
deepy has joined #ruby
SecretAgent has joined #ruby
monsieurp has joined #ruby
bw_ has joined #ruby
thejoecarroll has joined #ruby
uxp has joined #ruby
WanderingGlitch has joined #ruby
AntelopeSalad has joined #ruby
crazedpsyc has joined #ruby
brjannc has joined #ruby
fbernier has joined #ruby
rtl has joined #ruby
samuelkadolph has joined #ruby
dandrade has joined #ruby
patronus has joined #ruby
sweeper has joined #ruby
BeanDip has joined #ruby
wildroman2 has joined #ruby
lioninawhat has joined #ruby
thelamest has quit [Max SendQ exceeded]
SecretAgent has quit [Max SendQ exceeded]
Davedo has joined #ruby
atmosx has joined #ruby
SecretAgent has joined #ruby
Davey has joined #ruby
headius has quit [Ping timeout: 240 seconds]
shaker75 has joined #ruby
mpereira has quit [Ping timeout: 247 seconds]
hypnosb has joined #ruby
timonv_ has quit [Remote host closed the connection]
deepender has quit [Ping timeout: 260 seconds]
robert___ has joined #ruby
zz_karupanerura has joined #ruby
gstamp has joined #ruby
eshy has joined #ruby
drumusician has quit [Read error: Operation timed out]
tjaco has joined #ruby
sassamo has quit [Ping timeout: 260 seconds]
camt has joined #ruby
zarul has joined #ruby
mojjojo has joined #ruby
marr has joined #ruby
Waheed has quit [Quit: Waheed]
mneorr_ has quit [Remote host closed the connection]
mneorr has joined #ruby
Kabaka has quit [Ping timeout: 272 seconds]
klaut has joined #ruby
eka has joined #ruby
shedd has joined #ruby
workmad3_ has quit [Ping timeout: 276 seconds]
smathieu has joined #ruby
eka has quit [Client Quit]
thelamest has joined #ruby
<shevy> hmm
<shevy> got a question about Struct
wykydtron has joined #ruby
<shevy> a struct may not have any initial methods right? because they could conflict with methods defined lateron, on that struct
<apeiros> it has accessors to all members
<apeiros> also inspect and to_a
<shevy> hmm
<apeiros> you'd have to check what else
Rylee has quit [Ping timeout: 252 seconds]
pcarrier has joined #ruby
shedd has quit [Ping timeout: 246 seconds]
sassamo has joined #ruby
sassamo has quit [Remote host closed the connection]
sassamo has joined #ruby
speakingcode has quit [Quit: leaving]
<shevy> interesting
<apeiros> newer rubies it has to_h too I think
speakingcode has joined #ruby
<apeiros> huh? it includes Enumerable? o0
hakunin has quit [Ping timeout: 260 seconds]
<shevy> Sword = Struct.new(:length, :weight); sword = Sword.new 10, 20 #<struct Sword length=10, weight=20>; sword.to_a # => [10, 20]
timonv has joined #ruby
<shevy> so doing Struct.new(:to_a) is not a good idea if one wants to retain #to_a
MatthewsFace has quit [Quit: This computer has gone to sleep]
maletor has quit [Quit: Computer has gone to sleep.]
zcreative has joined #ruby
TDJACR has joined #ruby
TDJACR has quit [Changing host]
TDJACR has joined #ruby
zipper_ has quit [Quit: Lost terminal]
crazysim has quit [Excess Flood]
robbyoconnor has quit [Excess Flood]
crazysim has joined #ruby
mojjojo has quit [Quit: mojjojo]
ehaliewicz has joined #ruby
razibog has quit [Ping timeout: 248 seconds]
robbyoconnor has joined #ruby
aspires has joined #ruby
lioninawhat has quit [Remote host closed the connection]
brian___ has joined #ruby
rien has quit [Ping timeout: 272 seconds]
<Hanmac> apeiros: infomation Struct has to_h but not to_hash ... that makes a tiny little different
TDJACR has quit [Excess Flood]
<apeiros> eh? I think that's what I said…
<apeiros> 21:51 apeiros: newer rubies it has to_h too I think
<apeiros> no mention of to_hash
TDJACR has joined #ruby
rien has joined #ruby
kayloos has quit [Remote host closed the connection]
<Hanmac> i only want to remind that **obj only looks for a to_hash method not for to_h .... same like *obj only looks for to_ary and not for to_a
IcyDragon has joined #ruby
IceDragon has quit [Ping timeout: 252 seconds]
<apeiros> aha
intuxicated_ has quit [Quit: Leaving]
TDJACR has quit [Max SendQ exceeded]
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fractastical has joined #ruby
Cephalostrum has joined #ruby
TDJACR has joined #ruby
Anonomastos has joined #ruby
smathieu has quit [Remote host closed the connection]
miah_ is now known as miah
speakingcode has quit [Quit: leaving]
Xeago has joined #ruby
speakingcode has joined #ruby
mzemel has joined #ruby
kung has quit [Read error: Connection reset by peer]
kung has joined #ruby
aspires has quit []
coffeina has joined #ruby
<Mattx> apeiros, still couldn't upload the new version of the gem?
<apeiros> Mattx: nope. seems to be an ssl related issue. but my certs are up to date and my rubygems is too. and drbrain is afk as it seems
platzhirsch1 has joined #ruby
<apeiros> aha… installed ruby 2.1 in the meantime. with that one, it works…
razibog has joined #ruby
<apeiros> it's pushed now
Czupa has quit [Ping timeout: 272 seconds]
<Mattx> alright, thanks a lot!
<Mattx> I'll check it now
<apeiros> gem install literal_parser v=1.0.1
m4rcu5 has quit [Ping timeout: 260 seconds]
<apeiros> gem install literal_parser --version=1.0.1
<Mattx> cool, it works well
lioninawhat has joined #ruby
swills has left #ruby [#ruby]
<Mattx> well, almost
<Mattx> it still doesn't accept some "valid" json
<apeiros> example?
<Mattx> this one for example {"hello": ["goodbye", 123]}
<apeiros> ah
<apeiros> yes, because that is no longer valid ruby :D
<Mattx> yeah, I supposed
<apeiros> why do you have a source which generates invalid json anyway?
Barrin6 has quit [Quit: Leaving]
<apeiros> you should smack them
<Mattx> it's not my source
platzhirsch has quit [Ping timeout: 276 seconds]
<Mattx> it's the result of an API
<apeiros> so smack the API providers
<Mattx> haha
<Mattx> it's not always possible
kayloos has joined #ruby
<Mattx> json = '{hello: ["goodbye", 123]}'; hash = JSON.parse json rescue LiteralParser.parse
<Mattx> this would do it
gverri has joined #ruby
timonv has quit [Remote host closed the connection]
shedd has joined #ruby
jmo_ has quit [Ping timeout: 276 seconds]
aspires has joined #ruby
w4pm has joined #ruby
sinm has joined #ruby
aspires has quit [Client Quit]
achru_ has quit []
Barrin6 has joined #ruby
BillyJack has joined #ruby
chomskiii has joined #ruby
__LX__ has joined #ruby
ch0mskiii has quit [Quit: Leaving]
__LX__ has quit [Read error: Connection reset by peer]
chomskiii has quit [Client Quit]
hakunin has joined #ruby
shedd has quit [Ping timeout: 260 seconds]
hakunin has quit [Remote host closed the connection]
nisstyre has joined #ruby
Kabaka has joined #ruby
Kabaka has quit [Excess Flood]
coffeina has quit [Quit: Wychodzi]
<brian___> hello, i use rubymine and am wondering if anyone else has had any issues trying to install the ruby-debug-ide gem with ruby 2.1
<apeiros> Mattx: until you have mixed shit
ringaroses2 has quit [Quit: Leaving]
<Mattx> right
<apeiros> Mattx: I'd a) still smack the API providers, b) fork literalparser and change it a bit
<Mattx> but in that case I should really smack them
<atmosx> ouff finally I managed to create dy
<atmosx> dynamic menus
<apeiros> Mattx: change in literal_parser.rb:121 - RHashKeySymbol = /([A-Za-z_]\w*):/ --> RHashKeySymbol = /([A-Za-z_]\w*|#{RSString}|:#{RDString}):/
<apeiros> that expands parsing to recognize quoted keys
h0peless has joined #ruby
<h0peless> hello all
bigbadbear has quit [Ping timeout: 252 seconds]
ringaroses has quit [Ping timeout: 265 seconds]
tylersmith has joined #ruby
siwica has joined #ruby
IcyDragon is now known as IceDragon
<Mattx> ok, thanks
jmo has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
phansch_ has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 265 seconds]
aryaching has quit [Ping timeout: 276 seconds]
wookiehangover is now known as wookiehangover_
wookiehangover_ is now known as sambreed
lewix has quit [Remote host closed the connection]
wildroman2 has quit [Remote host closed the connection]
Barrin6 has quit [Remote host closed the connection]
<Hanmac> hm its a bit sad that "a""b" is valid ruby, but :"a""b" is not ;P
IcyDragon has joined #ruby
IceDragon has quit [Disconnected by services]
IcyDragon is now known as IceDragon
gomix1 is now known as gomix
gomix has quit [Changing host]
gomix has joined #ruby
jamesaanderson has joined #ruby
Kabaka has joined #ruby
h0peless has quit [Ping timeout: 272 seconds]
martxel_ is now known as Martxel
Martxel has quit [Changing host]
Martxel has joined #ruby
colonolG1on is now known as colonolGron
mzemel has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
grep_away is now known as grep_awesome
mzemel has joined #ruby
grep_awesome is now known as grep_away
grep_away has quit [Quit: ZNC - http://znc.in]
Galgorth has quit [Quit: Galgorth]
benlieb has joined #ruby
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
razibog has quit [Ping timeout: 260 seconds]
croaky has quit [Ping timeout: 276 seconds]
lewix has joined #ruby
wildroman2 has joined #ruby
croaky has joined #ruby
lewix has quit [Remote host closed the connection]
shedd has joined #ruby
mklappstuhl has joined #ruby
benlieb has quit [Client Quit]
mzemel has quit [Ping timeout: 248 seconds]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
croaky has quit [Ping timeout: 252 seconds]
shedd has quit [Ping timeout: 248 seconds]
freggles has quit [Remote host closed the connection]
nomadic_ has quit [Ping timeout: 245 seconds]
kayloos has quit [Remote host closed the connection]
oneveil has joined #ruby
jkhwan has joined #ruby
Barrin6 has joined #ruby
lewix has joined #ruby
axisys_ has joined #ruby
<axisys_> ri File gives Nothing known about File. running ubuntu 13.10.. missing any doc package?
<apeiros> yupp
LinearInterpol is now known as ZeroCool
<axisys_> apeiros: which pkg?
<axisys_> apeiros: did not see any ruby-doc when apt-cache search
oneveil has left #ruby ["Leaving"]
ZeroCool is now known as LinearInterpol
Cephalostrum has quit [Quit: Textual IRC Client: www.textualapp.com]
nomadic has joined #ruby
Cephalostrum has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
apeiros has quit [Remote host closed the connection]
mneorr has quit [Remote host closed the connection]
apeiros has joined #ruby
mneorr has joined #ruby
<apeiros> axisys_: I don't know how apt people decided to split it up
<apeiros> try -rdoc and -ri
<axisys_> apeiros: interesting.. apt-get install ri did it.. odd
<apeiros> apt mutilates the ruby package IMO.
fixl has joined #ruby
amedeiros has quit [Read error: No route to host]
amedeiros has joined #ruby
razibog has joined #ruby
butblack has quit [Quit: butblack]
mneorr has quit [Ping timeout: 272 seconds]
DouweM has joined #ruby
<shevy> do mac users often compile things on their macs?
<shevy> (especially the ruby source)
mneorr has joined #ruby
soobus has joined #ruby
glundgren has joined #ruby
glundgren is now known as guilund
<apeiros> shevy: no. why do you think most mac users bought a mac? they open the app-store and click "install". done.
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
bigbadbear has joined #ruby
flame_ has joined #ruby
Barrin6 has quit [Quit: Leaving]
tjaco has quit [Ping timeout: 272 seconds]
oneveil has joined #ruby
jmo has quit [Ping timeout: 272 seconds]
mklappstuhl has quit [Remote host closed the connection]
carraroj has quit [Quit: Konversation terminated!]
<shevy> hehe
shedd has joined #ruby
spacemud has quit [Quit: ZNC - http://znc.in]
spacemud has joined #ruby
Rylee has joined #ruby
pskosinski has quit [Ping timeout: 240 seconds]
pskosinski_ has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
petey has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
lioninawhat has quit [Remote host closed the connection]
shedd has quit [Ping timeout: 276 seconds]
jmo has joined #ruby
aspires has joined #ruby
otherj has joined #ruby
burlyscudd1 has quit [Quit: Leaving.]
preller_ has quit [Quit: leaving]
preller has joined #ruby
petey has quit [Read error: Connection reset by peer]
petey has joined #ruby
brandon__ has quit [Quit: Leaving]
alexherbo2 has joined #ruby
popl has quit [Ping timeout: 272 seconds]
maletor has joined #ruby
Kilobyte|StupidC is now known as Kilo`byte
guilund has quit []
Rylee has quit [Ping timeout: 276 seconds]
yarou_ has quit [Quit: This computer has gone to sleep]
rickruby has joined #ruby
Kabaka has quit [Ping timeout: 258 seconds]
sinm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastynerd has quit [Remote host closed the connection]
lnormous has joined #ruby
Rylee has joined #ruby
speakingcode has quit [Quit: Lost terminal]
speakingcode has joined #ruby
alexherbo2 has quit [Read error: Connection reset by peer]
rickruby has quit [Remote host closed the connection]
<shevy> gcc has becoming more and more annoying to compile
<shevy> *has become
Rylee has quit [Read error: Operation timed out]
flubba has joined #ruby
<shevy> now it wants things like 14MB ppl-1.1.tar.xz and lots more (gmp, mpfr, mpc ...)
kiki_lamb has joined #ruby
Rylee has joined #ruby
Barrin6 has joined #ruby
<txdv> either "gcc has become more annoying to compile" or "gcc is becomming more and more annoying to compile"
IcyDragon has joined #ruby
IceDragon has quit [Disconnected by services]
IcyDragon is now known as IceDragon
w4pm has quit [Ping timeout: 248 seconds]
<shevy> becomming?
spyderman4g63 has joined #ruby
vlad_starkov has joined #ruby
<txdv> ya
_honning_ has quit [Ping timeout: 252 seconds]
_honning_ has joined #ruby
wildroman2 has quit [Remote host closed the connection]
soobus has quit [Ping timeout: 265 seconds]
spyderman4g63 has quit [Read error: Connection reset by peer]
platzhirsch1 has quit [Quit: Leaving.]
tylersmith has joined #ruby
dapz has joined #ruby
aryaching has joined #ruby
razibog has quit [Remote host closed the connection]
yarou_ has joined #ruby
monkegjinni has joined #ruby
Rylee has quit [Ping timeout: 276 seconds]
shedd has joined #ruby
workmad3 has joined #ruby
Rylee has joined #ruby
baroquebobcat has joined #ruby
siwica has quit [Quit: siwica]
gverri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tectonic has joined #ruby
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
claymore has quit [Quit: Leaving]
Cephalostrum has quit [Remote host closed the connection]
croaky has joined #ruby
Cephalostrum has joined #ruby
ahawkins_ has joined #ruby
shedd has quit [Ping timeout: 245 seconds]
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
wildroman2 has joined #ruby
ahawkins_ has quit [Read error: Operation timed out]
zipper has joined #ruby
Fabrizio has joined #ruby
davidw has left #ruby ["Ex-Chat"]
kirun_ has quit [Quit: Client exiting]
burlyscudd has joined #ruby
MatthewsFace has joined #ruby
wildroman2 has quit [Ping timeout: 272 seconds]
otherj has quit []
_honning_ has quit [Ping timeout: 240 seconds]
croaky has quit [Ping timeout: 260 seconds]
jenskarlsen has joined #ruby
Kabaka has joined #ruby
mengu has quit []
Azulinho has joined #ruby
nateberkopec has quit [Quit: Leaving...]
Lulzon is now known as LulzonAway
nateberkopec has joined #ruby
kitak has quit [Remote host closed the connection]
pwh has quit []
Rylee has quit [Ping timeout: 276 seconds]
gverri has joined #ruby
_aeris_ is now known as [_aeris_]
enebo has quit [Quit: enebo]
tectonic has quit []
chomskiii has joined #ruby
Kar- has quit [Ping timeout: 245 seconds]
rubyracer has quit [Quit: Konversation terminated!]
dapz has quit [Ping timeout: 243 seconds]
momomomomo has quit [Quit: momomomomo]
cashnguns has joined #ruby
cashnguns has quit [Client Quit]
vlad_starkov has quit [Remote host closed the connection]
Guest83161 has joined #ruby
shedd has joined #ruby
Mattx has left #ruby ["Leaving"]
mneorr has quit [Remote host closed the connection]
threesome has quit [Ping timeout: 272 seconds]
mneorr has joined #ruby
Guest83161 has quit [Client Quit]
Kar- has joined #ruby
Wixy has joined #ruby
<Wixy> Hi
vlad_starkov has joined #ruby
cong has joined #ruby
cashnguns has joined #ruby
<Wixy> I have a variable, let's say n. which is supposed to have the number of iterations I have to do, where 0 means infinity
blackmesa has quit [Ping timeout: 240 seconds]
<Wixy> is there a way to do so using a single .times loop?
<cong> is there a switch to disable newline processing in windows
<cong> e.g. \r\n => \n
<Wixy> something like n = Float::INFINITY if n == 0; n.times do ... end
<Wixy> (doesn't work because times is not defined for Float::INFINITY
<Wixy> )
sguselnikov has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
vlad_starkov has quit [Read error: Connection reset by peer]
shedd_ has joined #ruby
subbyyy_ has joined #ruby
shedd has quit [Ping timeout: 276 seconds]
toastynerd has joined #ruby
<Wixy> never mind, I found it!
mneorr has quit [Ping timeout: 264 seconds]
<Wixy> 1.upto n do ... end
<Wixy> cool!
emocakes has joined #ruby
croaky has joined #ruby
Kabaka has quit [Ping timeout: 265 seconds]
<cong> um... \n ! => \r\n
<cong> it should just be \n or 0x0A
Naoe-Kanno has joined #ruby
xdrone has joined #ruby
lnormous has quit [Remote host closed the connection]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SHyx0rmZ has quit [Ping timeout: 260 seconds]
aspires has quit []
workmad3 has quit [Ping timeout: 265 seconds]
rickruby has joined #ruby
kitak has joined #ruby
<Wixy> cong, gsub?
m8 has quit [Quit: Sto andando via]
<Wixy> or just trim each line
<cong> no i need it for cgi scripting
<abstr4ct> perhaps use a gsub to remove it? .gsub("\r\n", "") or .gsub("\n", "") or .gsub("\r", "")
<Wixy> "foo\r".strip -> "foo"
<abstr4ct> when processing dirty data i have done that in the past
<Wixy> not sure what you're doing tough
<cong> i don't know why but this http://cxg.de/_962eba.htm works. is puts eating up a newline?
klaut has quit [Remote host closed the connection]
<cong> i was thinking i wouldn't need weiteln in line 11
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jmo has quit [Ping timeout: 276 seconds]
relix has joined #ruby
croaky has quit [Ping timeout: 276 seconds]
<pontiki> is this so you can write pascal instead of ruby? :))
<shevy> cong you can omit all the ; there
AlSquire has quit [Quit: This computer has gone to sleep]
<cong> i like pascal too
<shevy> do you like java as well?
<cong> but i haven't done much of it
<cong> hell no. java is awful
<cong> too much packaging and things
Anonomastos has quit [Quit: Quitte]
<cong> and exceptions being required is just wrong
lioninawhat has joined #ruby
<shevy> well ruby has exceptions too
<cong> but they aren't require when when using streams and stuff
<shevy> begin 1/0; rescue Exception => error; p error; end
<shevy> #<ZeroDivisionError: divided by 0>
Kar- has quit [Ping timeout: 264 seconds]
relix has quit [Ping timeout: 240 seconds]
emocakes has quit [Quit: Leaving...]
Kabaka has joined #ruby
choobie has quit [Ping timeout: 245 seconds]
<abstr4ct> got a line with a lot of gsubs in a string. that i use more than once. how can i "variablize" them in effors to be less messy oc.search(venue_day).inner_text.gsub("\u00BD", "&frac12;").gsub("\u00E9", "&eacute;").gsub("\u00A0", "").gsub("\r\n", "").gsub
<shevy> dont see how you can make this shorter abstr4ct
<shevy> perhaps make an array for all things that have to be removed, then iterate through
<abstr4ct> yeah
vlad_starkov has joined #ruby
<abstr4ct> i was wondering if i could do something wierd like make it a string and somehow place it in... but all my efforts have failed
<abstr4ct> also this is in a "def" and i would need the "variable" to be outside, assuming that matters
<shevy> well oc.search(venue_day).inner_text apparently returns a string
<shevy> _ = oc.search(venue_day).inner_text
wildroman2 has joined #ruby
<shevy> _.gsub!("\u00A0", "")
zxd has joined #ruby
<abstr4ct> right, but the oc.search(venue_day).inner_text is not the messy part
<abstr4ct> image a lot more gsubs, i only pasted a few
ocline``` has joined #ruby
<abstr4ct> so i am really trying to focus on somehow shortning the gsubs... also imagine that line like 20 times... heheh
emocakes has joined #ruby
<pontiki> you could use tr instead of gsub and put them together
<pontiki> maybe?
<pontiki> idk
<abstr4ct> not familar with tr, time for google
<pontiki> no, sorry, you can't do that, my mistake
<pontiki> tr is like the unix tr command, character transliteration
<pontiki> but you subbing characters for strings
<pontiki> i would be there is a encode/decode arrangement though, UTF-8 to HTML-ENTITY
speakingcode has quit [Ping timeout: 248 seconds]
kotk has joined #ruby
<abstr4ct> yeah, i just have not figured it out yet, so i was using gsubs
<pontiki> you could also put them in a hash or table to make them more readable as variables
ocline`` has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
<pontiki> still using the gsubs
<abstr4ct> well i was thinking i could somehow take the entire string of gsubs and make it a variable, that just gets plopped down and run, but i have not been able to make it work
Rylee has joined #ruby
<abstr4ct> because i have that string 20-30 times...
zxd has quit [Ping timeout: 240 seconds]
kayloos has joined #ruby
wildroman2 has quit [Ping timeout: 272 seconds]
<abstr4ct> so even if the string is the same length, but only once, that would be useful
<pontiki> is it the same collection of substitutions?
<abstr4ct> yes
<pontiki> everyone is going to yell at me, monkeypatch String?
kalrover has joined #ruby
kalrover has quit [Client Quit]
<abstr4ct> uhm what dat is?
kotk1 has quit [Ping timeout: 276 seconds]
<pontiki> it's where you reopen the String class and add a method to it, such as:
<cong> monkey patching redefining the string class
<pontiki> class String; def my_method; self.gsub(...).... ; end ; end
jkhwan has joined #ruby
<pontiki> it's also called open classing
butblack has joined #ruby