shiver has quit [Read error: Connection reset by peer]
weemsledeux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wpostma1 has quit [Quit: WeeChat 1.6]
SCHAAP137 has quit [Quit: Leaving]
splud_ has quit [Quit: splud_]
evidex has quit [Ping timeout: 260 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
weemsledeux has joined #ruby
shiver has joined #ruby
shiver has joined #ruby
shiver has quit [Changing host]
bmurt has joined #ruby
marr has quit [Ping timeout: 260 seconds]
dar123 has quit [Read error: Connection reset by peer]
shiver has quit [Remote host closed the connection]
dar123 has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
brianpWins has joined #ruby
terens_ has joined #ruby
arescorpio has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang61 has joined #ruby
bruce_lee has quit [Ping timeout: 250 seconds]
bruce_lee has joined #ruby
ziarkaen has joined #ruby
jcao219 has joined #ruby
aaronds has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
c3553e3b has quit [Quit: Connection closed for inactivity]
ziarkaen has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
shiver has joined #ruby
shiver has joined #ruby
shiver has quit [Changing host]
aaronds has quit [Ping timeout: 256 seconds]
railssmi_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
terens_ has quit [Ping timeout: 260 seconds]
tomchapin has quit [Ping timeout: 265 seconds]
bronson has joined #ruby
sagax has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
sagax has joined #ruby
Felipe__ has joined #ruby
GodFather has quit [Ping timeout: 265 seconds]
bronson has quit [Ping timeout: 250 seconds]
mikeusabr has joined #ruby
rtail has quit [Quit: Later]
eljimmy has quit [Quit: This computer has gone to sleep]
<mikeusabr>
Hello. I know that any problem can be cracked. But exists some way of put a webserver for run in the customer pc? ok ok that is possible in VM with linux, but is easy reset the linux pw and get all the files.. exists other solution?
<mikeusabr>
program can be..*
brent__ has quit [Quit: Connection closed for inactivity]
Jameser has joined #ruby
tomchapin has joined #ruby
hinbody has joined #ruby
<c-c>
ola mikeusabr
<mikeusabr>
ola
<c-c>
you can run a webserver on ruby
<c-c>
for windows machine, thinking quick - I would use jruby
<c-c>
(if 'pc' means same as windows here)
<mikeusabr>
so jruby can convert for example my rails project for bytecode?
jhack has joined #ruby
<mikeusabr>
so will be more "hard" get the source code
<c-c>
I don't know about rails - if jruby has complete support, or not
creat has joined #ruby
<mikeusabr>
we need that our system works in offlinemode, we can make a c# application or java application, but a system made for web is more easy..
flashpoint9 has joined #ruby
nankyokusei has joined #ruby
speakingcode has quit [Ping timeout: 250 seconds]
<c-c>
jruby, sinatra and postgreSQL for json store is what I would start with, right now
<c-c>
who knows, maybe the windows environment or the requirements ask for something else
<mikeusabr>
so jruby + sinatra = bytecode right?
<mikeusabr>
with that can i make a vm and install a webserver... so in the customer pc just start the vm and get all stuffs working
<mikeusabr>
we need the programm compiled because put a .rb source code in VM, some customer can get the project
<Nilium>
You can decompile bytecode.
nankyokusei has quit [Ping timeout: 260 seconds]
<mikeusabr>
u mean crack the program right?
<c-c>
mikeusabr: I believe the jruby uses jit compilation
<Nilium>
IntelliJ's actually pretty dang good at it.
jhack has quit [Quit: jhack]
flashpoint9 has quit [Ping timeout: 260 seconds]
<mikeusabr>
jit. nice
<Nilium>
Anyway, if your plan was to forbid access to source, Ruby's not really the best option.
<mikeusabr>
yes
<Nilium>
And jruby won't help.
<mikeusabr>
i think that is best a java application or c#
bruce_lee has quit [Remote host closed the connection]
<Nilium>
Actually, decompiling both of those is pretty simple.
<c-c>
what you do is you host the web application someplace
<Nilium>
Pretty much.
<mikeusabr>
instead of a web app... so we can for example make a c# desktop application and after run a obfuscator.. but anyways any programm can be cracked
<Nilium>
My personal policy is to not care if I'm delivering software directly to a person.
<c-c>
mikeusabr: look into jrubyc
<mikeusabr>
Nilium: the software will run in 300 customers +/-
<Nilium>
Seems like a small enough number that it doesn't matter then.
blackbombay has joined #ruby
<mikeusabr>
yes
<mikeusabr>
the % of a program be cracked is if be very popular, like ruby mine for example
jcao219 has quit [Ping timeout: 244 seconds]
<mikeusabr>
ok guys thank you for attention
<mikeusabr>
bb
mikeusabr has quit [Quit: Page closed]
hotpancakes has joined #ruby
finisherr has quit [Quit: finisherr]
blackbombay has quit [Ping timeout: 245 seconds]
brianpWins has quit [Quit: brianpWins]
<c-c>
oh, too bad I didn't get to recommend puma to MissionCritical
<c-c>
uh, mikeusabr
d^sh_ has quit [Ping timeout: 260 seconds]
d^sh has joined #ruby
JeanCarloMachado has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
palms has quit [Ping timeout: 260 seconds]
creat has quit [Quit: Leaving]
railssmith has joined #ruby
eljimmy has joined #ruby
zukin has joined #ruby
minmax_ has joined #ruby
optiz0r has quit [Ping timeout: 260 seconds]
weemsledeux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__main__ has quit [Read error: Connection reset by peer]
__main__ has joined #ruby
Robtop__ has joined #ruby
sameerynho has quit [Quit: WeeChat 1.5]
ben__ has joined #ruby
_main_ has joined #ruby
harfangk has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 245 seconds]
flashpoint9 has joined #ruby
__main__ has quit [Ping timeout: 260 seconds]
_main_ is now known as __main__
ben__ has quit [Ping timeout: 260 seconds]
blackbombay_ has quit [Ping timeout: 245 seconds]
__main__ has quit [Read error: Connection reset by peer]
__main__ has joined #ruby
<tau>
is it good practice to keep one class per file?
<tau>
is it okay in ruby?
<tau>
i have googled around and i couldnt find a good set of arguments on that.
<tau>
so, i was wondering about a dialogue approach about that question.
<apeiros>
tau: yes
<workmad3>
tau: one class per file is fairly normal
<apeiros>
basically one module/class per file is standard
<tau>
nice.
<tau>
it seems good.
<djellemah>
tau: rails pretty much insists on it because of autoloading. Most things big enough to be a gem will have one class per file. Some of my once-off scripts have more than one class in the script file.
<tau>
i wonder why not enforcing that at run level then.
<tau>
if rails insists on that.
<workmad3>
because rails doesn't dictate the language... and there are times when you don't want that
<workmad3>
it's not too uncommon to do something like declare a bunch of error classes inside another class, for example
meth has quit [Quit: Leaving]
<tau>
i see.
jaruga___ has joined #ruby
<workmad3>
also, modules get used for namespacing a lot, at which point you can have 'module Foo; module Bar; class Fizz; end; end; end` inside one file... and if those modules didn't exist before, they've just been created in that one file... so a runtime 'one module/class per file' restriction would be troublesome :)
cdg has quit [Remote host closed the connection]
_main_ has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 256 seconds]
<workmad3>
the better rule of thumb is probably 'only one module/class with behaviour per file', and even that gets violated in useful cases like djellemah's scripts :)
claudiuinberlin has joined #ruby
Immune has joined #ruby
dionysus69 has joined #ruby
<tau>
workmad3 yea.
the_drow has quit [Quit: This computer has gone to sleep]
__main__ has quit [Ping timeout: 250 seconds]
<djellemah>
That's actually one of the things I really like about ruby - there are usually quite strong conventions, but nobody will frown at you too hard if you have a good reason to do things differently.
d3v has quit [Ping timeout: 252 seconds]
_main_ is now known as __main__
claudiuinberlin has quit [Ping timeout: 250 seconds]
the_drow has joined #ruby
jeyraof has joined #ruby
ziarkaen_ has joined #ruby
<tau>
i'm coming from python. i decided to pick up ruby after 6 years with python.
<tau>
i dont plan to switch totally but just keep it up.
sdothum has joined #ruby
hotpancakes has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
Capela has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
<workmad3>
yeah, one of the things I don't like too much about python is that there's a bunch of stuff enforced at the runtime that are, IMO, just conventions, and the community seems to be a lot more judgemental when you violate an arbitrary 'standard' even if you have a very good reason
__main__ has joined #ruby
<tau>
in fact.
Immune has joined #ruby
Capela has quit [Ping timeout: 260 seconds]
skweek has joined #ruby
hotpancakes has quit [Ping timeout: 260 seconds]
icey-travel is now known as icey
<chrisseaton>
Is there a difference between `raise ArgumentError, 'foo'` and `raise ArgumentError.new('foo')`? Why do people write one rather than the other?
synthroid has joined #ruby
aaronds has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
synthroi_ has joined #ruby
<djellemah>
Assuming that's not rhetorical - the only time I'd use the latter would be when the exception's constructor takes something other than a single string argument.
synthroid has quit [Ping timeout: 244 seconds]
<chrisseaton>
djellemah: so they are exactly the same and it's just a stylistic choice to use the former one?
aaronds has quit [Ping timeout: 265 seconds]
troulouliou_div2 has joined #ruby
quazimodo has quit [Ping timeout: 250 seconds]
troulouliou_div2 has quit [Changing host]
troulouliou_div2 has joined #ruby
johnmilton has joined #ruby
bronson has joined #ruby
ziarkaen_ has quit [Ping timeout: 250 seconds]
bruce_lee has joined #ruby
alibby has joined #ruby
ziarkaen has quit [Ping timeout: 260 seconds]
tvw has quit [Ping timeout: 256 seconds]
<djellemah>
chrisseaton: There's another wrinkle https://ruby-doc.org/core-2.3.1/Kernel.html#method-i-raise "(or an object that returns an Exception object when sent an exception message)" although I think I've never actually used that.
ziarkaen has joined #ruby
ziarkaen_ has joined #ruby
quazimodo has joined #ruby
bronson has quit [Ping timeout: 245 seconds]
rodfersou has joined #ruby
aryaching has joined #ruby
<headius>
Nilium: it would be rather difficult to decompile JRuby's bytecode back to Ruby...and a number of commercial packages based on JRuby ship that way
aaronds has joined #ruby
tyang has joined #ruby
peteykun has joined #ruby
ag4ve_ has joined #ruby
tvw has joined #ruby
ziarkaen has quit [Ping timeout: 250 seconds]
ziarkaen_ has quit [Ping timeout: 256 seconds]
<frankiee_>
Can someone assist me mass-importing some products into my db? I will pay.
ftj has joined #ruby
Capela has joined #ruby
<SegFaultAX>
frankiee_: Well what do you need help with, exactly?
uranellus has joined #ruby
uranellus has quit [Changing host]
uranellus has joined #ruby
<frankiee_>
SegFaultAX: I'm fetching JSON from this API which I'm trying to format into the way Solidus (http://github.com/solidusio/solidus) wants but I just can't get it right
saneax is now known as saneax-_-|AFK
the_drow has quit [Quit: This computer has gone to sleep]
<SegFaultAX>
frankiee_: Do you have permission to scrape this API?
<frankiee_>
Yep
<frankiee_>
Hold on let me put up everything
<SegFaultAX>
frankiee_: Then my first suggestion is to fetch all the data and save it locally so you can do the bulk import repeatedly in a test environment until you get it right. That way you don't DDoS the service you're pulling data from.
modin has quit [Ping timeout: 246 seconds]
blackbombay_ has joined #ruby
<frankiee_>
SegFaultAX: Great, great idea
sepp2k has joined #ruby
<frankiee_>
Can I PM you the gist? It has my API key which I'll regenerate after this
<frankiee_>
And also we forgot to discuss the terms of your payment =)
<SegFaultAX>
frankiee_: Sure.
cdg has joined #ruby
blackbombay_ has quit [Ping timeout: 250 seconds]
User458764 has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mim1k|work has joined #ruby
skweek has quit [Ping timeout: 245 seconds]
ych has joined #ruby
aryaching has quit [Ping timeout: 250 seconds]
nadir has joined #ruby
antgel has joined #ruby
mziemys has joined #ruby
jenrzzz has joined #ruby
skweek has joined #ruby
E7F3RN4 has joined #ruby
igniting has quit [Ping timeout: 260 seconds]
xall has quit [Ping timeout: 256 seconds]
AndrewIsHere has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
Bish has joined #ruby
<Bish>
when creating a tempfile, can i somehow get the basename back
mvxlr has joined #ruby
maloik10 has quit [Remote host closed the connection]
maloik has joined #ruby
Immune has joined #ruby
Capela has quit [Remote host closed the connection]
tirej_ has quit [Read error: Connection reset by peer]
AndrewIsHere has quit [Ping timeout: 245 seconds]
<djellemah>
Bish: Tempfile#path not what you want?
nettoweb has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
martinbjeldbak has quit [Remote host closed the connection]
tvw has quit [Ping timeout: 252 seconds]
<djellemah>
tau: do is optional on the end of while and until (and you hardly see it actually used there), and it doesn't mean the same thing as do ... end after a method call.
ziarkaen has joined #ruby
ziarkaen_ has joined #ruby
peteykun has joined #ruby
Immune has joined #ruby
aaronds has quit [Ping timeout: 244 seconds]
ben_____ has joined #ruby
ych has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #ruby
webguynow has quit [Ping timeout: 245 seconds]
arooni has joined #ruby
webguynow has joined #ruby
ben__ has quit [Ping timeout: 245 seconds]
claudiuinberlin has quit [Remote host closed the connection]
tvw has joined #ruby
claudiuinberlin has joined #ruby
Akuma has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
aaronds has joined #ruby
kn330 has joined #ruby
jschoolcraft has joined #ruby
jaruga____ has joined #ruby
Immune has joined #ruby
igniting has quit [Ping timeout: 265 seconds]
ChiefAlexander has joined #ruby
aaronds_ has quit [Ping timeout: 265 seconds]
jaruga___ has quit [Ping timeout: 260 seconds]
ych has joined #ruby
hahuang61 has joined #ruby
dnicole has quit [Remote host closed the connection]
tristanp_ has quit []
tristanp has joined #ruby
last_staff has quit [Quit: last_staff]
Immune has quit [Ping timeout: 260 seconds]
hahuang61 has quit [Ping timeout: 260 seconds]
blackbombay_ has joined #ruby
vqrs has quit [Ping timeout: 256 seconds]
hutch34 has quit [Ping timeout: 244 seconds]
nettoweb has quit [Ping timeout: 252 seconds]
vqrs has joined #ruby
grug is now known as GRUG
Capela has quit [Remote host closed the connection]
blackbombay_ has quit [Ping timeout: 256 seconds]
lxsameer has joined #ruby
igniting has joined #ruby
ziarkaen_ has quit [Ping timeout: 252 seconds]
ziarkaen has quit [Ping timeout: 252 seconds]
igniting has joined #ruby
igniting has quit [Changing host]
Capela has joined #ruby
antgel has quit [Ping timeout: 245 seconds]
flashpoint9 has joined #ruby
jrafanie has joined #ruby
Capela has quit [Remote host closed the connection]
ziarkaen has joined #ruby
ziarkaen_ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Capela has joined #ruby
Capela_ has joined #ruby
Capela__ has joined #ruby
tvw has quit [Ping timeout: 268 seconds]
pragmaticus has joined #ruby
Capela__ has quit [Read error: Connection reset by peer]
Capela__ has joined #ruby
Capela has quit [Read error: Connection reset by peer]
Capela_ has quit [Ping timeout: 260 seconds]
antgel has joined #ruby
tvw has joined #ruby
<Bish>
is there a shortcut for .response_to? & call
<Bish>
kinda like the lonely operator just for kicks
<Bish>
well, actually obj&.method(:name).call would work right?
mziemys has quit [Remote host closed the connection]
<rob_>
.send?
gingray has joined #ruby
whiteline_ is now known as whiteline
<rob_>
oh, no
igniting has quit [Remote host closed the connection]
jcao219 has joined #ruby
modin has quit [Ping timeout: 246 seconds]
User458764 has joined #ruby
<Bish>
well, method(:not_existing) raises ;;
tlaxkit has quit [Quit: tlaxkit]
jaruga____ has quit [Quit: jaruga____]
chouhoulis has joined #ruby
<Burgestrand>
Bish don't think so, you could monkey patch it in and say "call_it_maybe?"
teclator has joined #ruby
modin has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
peteykun has quit [Read error: Connection reset by peer]
clandry94_ has joined #ruby
brainslug has quit [Ping timeout: 248 seconds]
<Bish>
can i reuse regular expressions somehow
<Bish>
im having a regular expression, and i want to prepend a single letter before that
<Bish>
maybe /l#{regex}/
shinnya has joined #ruby
ruby-lang894 has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
<apeiros>
Bish: yes
<apeiros>
precisely like that.
<apeiros>
it'll even keep flags for the interpolated regex.
<clandry94>
Hi all, I'm giving a ruby tutorial for new programmers that are in a Java class currently. Part of the tutorial is interactively making a simple program to showcase some of the cooler features of ruby that they would understand. However, I'm at a loss of what I could make in 30-45 minutes that would be basic enough. Any ideas?
jenrzzz has joined #ruby
rippa has joined #ruby
ruby-lang894 has quit [Ping timeout: 260 seconds]
tvw has quit [Read error: Connection reset by peer]
Seich has joined #ruby
tau has quit [Remote host closed the connection]
Sonicblaze has quit [Ping timeout: 248 seconds]
AndrewIsHere has joined #ruby
croberts has quit [Ping timeout: 260 seconds]
ych has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 250 seconds]
<rob_>
clandry94: cryptopals.com
lel has quit [Ping timeout: 260 seconds]
Sonicblaze has joined #ruby
Toledo has joined #ruby
mustmodify has joined #ruby
weemsledeux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mustmodify>
when testing modules, do you prefer to create a faked-out class and test against that, so you aren't testing the class that uses it, or to test the module in its natural environment, even though that's sort of polluted?
clandry94_ has quit [Ping timeout: 260 seconds]
railssmith has quit [Ping timeout: 250 seconds]
lel has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kn330 has quit [Read error: Connection reset by peer]
mark_66 has quit [Quit: Leaving.]
mim1k|work has quit [Ping timeout: 250 seconds]
Capela has quit [Ping timeout: 250 seconds]
aaronds_ has joined #ruby
Capela has joined #ruby
ych has joined #ruby
terens_ has quit [Remote host closed the connection]
aaronds has quit [Ping timeout: 244 seconds]
shinnya has quit [Ping timeout: 260 seconds]
kn330 has joined #ruby
Capela_ has quit [Ping timeout: 244 seconds]
bmurt has joined #ruby
mim1k|wo1k has quit [Ping timeout: 260 seconds]
mim1k|work has joined #ruby
ferr has quit [Quit: WeeChat 1.5]
teclator has quit [Ping timeout: 250 seconds]
xall has joined #ruby
<pagios>
a WORD is 32bit on 32bit proc and 64 BIT on 64 bit pc right?
UX7 has joined #ruby
<UX7>
Hello
gingray has quit [Ping timeout: 256 seconds]
<apeiros>
pagios: word size is whatever the spec for the arch says
<apeiros>
what you said is the most common
<pagios>
apeiros, and a memory location contains 1 WORD
polishdub has joined #ruby
nikivi has joined #ruby
<apeiros>
no idea. but almost certainly highly architecture specific.
dionysus69 has quit [Ping timeout: 260 seconds]
aaronds has joined #ruby
<UX7>
I am a beginner, I'd like to know what Ruby is used for?
machinewar has joined #ruby
m1911 has joined #ruby
aaronds_ has quit [Ping timeout: 252 seconds]
m1911 has quit [Remote host closed the connection]
nikivi has quit [Quit: irc]
aaronds_ has joined #ruby
<franknat2vidad>
Hi @UX7! I'm also a beginner. I hope this helps: You can use Ruby for several things. Web development, App development, backend API development, and so much more. It really just depends on what you want to accomplish.
saneax-_-|AFK is now known as saneax
franknat2vidad has quit [Quit: leaving]
CoderFrank has joined #ruby
aaronds has quit [Ping timeout: 250 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ReK2 has joined #ruby
jtdowney has quit [Quit: ZNC]
benlieb has joined #ruby
jtdowney has joined #ruby
jtdowney has quit [Changing host]
jtdowney has joined #ruby
hotpancakes has quit []
jenrzzz has joined #ruby
nikivi has joined #ruby
skweek has quit [Ping timeout: 245 seconds]
brainslug has joined #ruby
ezea has joined #ruby
ezea has quit [Client Quit]
millerti has joined #ruby
teclator has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
amclain has joined #ruby
TomyWork has quit [Ping timeout: 256 seconds]
peteykun has quit [Quit: Leaving]
[Butch] has joined #ruby
E7F3RN4 has quit [Ping timeout: 265 seconds]
aganov has quit [Remote host closed the connection]
nettoweb has joined #ruby
hahuang61 has joined #ruby
oyes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
wdb is now known as quoboo
speakingcode has quit [Quit: Lost terminal]
hahuang61 has quit [Ping timeout: 260 seconds]
nikivi has quit [Quit: irc]
elenatanasoiu has quit [Ping timeout: 250 seconds]
aufi has quit [Quit: Leaving]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ych has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
flashpoint9 has quit [Read error: Connection reset by peer]
benlieb has quit [Quit: benlieb]
flashpoint9 has joined #ruby
cdg_ has quit [Remote host closed the connection]
GRUG has quit [Ping timeout: 250 seconds]
cdg has joined #ruby
blackbombay_ has joined #ruby
sepp2k has quit [Quit: Leaving.]
GRUG has joined #ruby
submitnine has quit [Remote host closed the connection]
elenatanasoiu has joined #ruby
GodFather has quit [Ping timeout: 256 seconds]
TomyLobo has joined #ruby
ramfjord has joined #ruby
gusrub has joined #ruby
oyes has joined #ruby
flying has quit []
User458764 has joined #ruby
jaruga___ has joined #ruby
jaruga___ is now known as jaruga____
xpl0iter has quit [Quit: Leaving]
sneakerhax has quit [Ping timeout: 260 seconds]
benlieb has joined #ruby
xall has quit [Ping timeout: 268 seconds]
marr has quit [Read error: Connection reset by peer]
chouhoulis has quit [Remote host closed the connection]
gusrub has quit [Remote host closed the connection]
CSWookie has joined #ruby
SCHAAP137 has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<CSWookie>
Hey, folks. Is there a way to make a ruby function that injects variables into the calling context. Super dirty, I know.
d3d1rty has quit [Ping timeout: 260 seconds]
kinghussien has joined #ruby
_djbkd has joined #ruby
<vktec>
CSWookie: I seriously doubt it and why the hell would you want to do that anyway?!
<vktec>
:P
nikivi has quit [Quit: irc]
<vktec>
There are some languages that let you do stuff like that, but it's usually a bad idea
<CSWookie>
vktec: I want to make a library of functions that I can call in Vagrantfiles, so that I can call the "test_grid" function, and it sets the variables I need for that, and the "development" function, and it sets the variables I need for that.
rcvalle has joined #ruby
Devalo has quit [Remote host closed the connection]
railssmith has joined #ruby
nikivi has joined #ruby
Devalo has joined #ruby
<CSWookie>
vktec: Oh, it's almost ALWAYS a bad idea. But I'm in an odd situation here... When configuration is code, I want to be able to do the equivalent of ". config.sh" in bash.
pawnbox_ has joined #ruby
marxarelli has joined #ruby
<vktec>
CSWookie: Hmm... I'm not particularly familiar with Vagrant, but perhaps you could extend a class or something?
pawnbox has quit [Read error: Connection reset by peer]
dionysus70 has joined #ruby
cyphase has joined #ruby
<CSWookie>
vktec: Maybe, but I'm wanting to avoid writin gtoo much code for this... It's gonna be maintained by a bunch of sysops, after all.
<vktec>
If it comes to it, you can always return an array and set the variables manually like foo, bar, baz = my_func
<CSWookie>
Also, I'm really not a huge fan of Ruby, so I don't want to get eyeballs deep if I can avoid it.
<vktec>
Blasphemy! :P
dionysus69 has quit [Ping timeout: 250 seconds]
dionysus70 is now known as dionysus69
alibby has quit [Quit: Leaving.]
<vktec>
I agree, Ruby can be slightly odd when coming from some other languages
<CSWookie>
Maybe... Is there a function that I pass a has and it sets variables based on key=value?
kinghussien has quit [Ping timeout: 245 seconds]
<vktec>
> pass a has
<vktec>
wut
<CSWookie>
I have a feeling if I did get eyeballs deep in it, I'd really like blocks.
<CSWookie>
sorry, hash.
<CSWookie>
Not has.
oyes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<vktec>
No, I don't think you can do that
<vktec>
biab
marr has joined #ruby
Capela has joined #ruby
Devalo has quit [Ping timeout: 252 seconds]
roflmyeggo has quit [Ping timeout: 260 seconds]
aaronds has joined #ruby
nikivi has quit [Quit: irc]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<LyndsySimon>
Gah. I've been doing Ruby about a month now and am learning Clojure concurrently. Is there a ruby way to access a hashmap given a series of nested keys?
<LyndsySimon>
I'm looking for something analogous to this clojure statement: (get-in {:gp {:p {:c "value"}}} [:gp :p :c])
<havenwood>
LyndsySimon: dig
<LyndsySimon>
Awesome, ty. I knew it was out there, but forgot its name.
<arup_r>
I know the method. Not sure how to use when using block
<arup_r>
blackbombay_: ^
<arup_r>
ok
<Papierkorb>
arup_r: it'll delete it automatically.
<arup_r>
figured out
<blackbombay_>
do you need to use it with a block? maybe it does sth like yield; unlink.
<arup_r>
No it will now
<arup_r>
not*
<Papierkorb>
> When a Tempfile object is garbage collected, or when the Ruby interpreter exits, its associated temporary file is automatically deleted.
<blackbombay_>
thats unusual, File.open closes the fd for you
<arup_r>
it just closes. but block return the file object
<arup_r>
so I can clean it
claudiuinberlin has quit []
<blackbombay_>
cool
<arup_r>
oh I see.
<blackbombay_>
dont rely on the GC
<Papierkorb>
arup_r: and just in the next paragraph it shows how to do it manually
<blackbombay_>
unlink it early
<arup_r>
but for me tmp/ folder got piles of files
<blackbombay_>
yes
<arup_r>
Papierkorb: all good
<blackbombay_>
dont rely on that behaviour
<arup_r>
I didn't read "The call returns the value of the block." which is what I needed to call `unlink`
<arup_r>
thanks floks
<blackbombay_>
youre welcome
<arup_r>
:P spelling mistake
<blackbombay_>
btw
<blackbombay_>
youre in india right?
oyes has joined #ruby
<arup_r>
yes
<arup_r>
you?
hahuang61 has joined #ruby
<blackbombay_>
europe atm. im thinking of travelling though, to india, where would you recommend?
<blackbombay_>
not set in stone yet but india is in the pot of choices :)
elenatanasoiu has quit [Ping timeout: 260 seconds]
tomphp has joined #ruby
aaronds has quit [Ping timeout: 260 seconds]
arup_r has quit [Remote host closed the connection]
bovis has joined #ruby
failshell has joined #ruby
firstdayonthejob has joined #ruby
jackjackdripper has joined #ruby
GodFather has joined #ruby
ngrin_ has joined #ruby
<ule>
Papierkorb: so.. do you know if we have something in ruby that automatically does that?
<ule>
my problem here is.. I don't know which format I'll get in that array..
ruby_ has joined #ruby
<ule>
could be [A-Z][0-9] but could be just [A-Z]
ramfjord has joined #ruby
jackjackdripper has quit [Client Quit]
gregf_ has quit [Quit: Page closed]
jackjackdripper has joined #ruby
<ule>
I can filter it before applying the sort
<ule>
with regex
mhib has joined #ruby
nowhere_man has joined #ruby
eljimmy has quit [Read error: No route to host]
dobriennn has joined #ruby
igniting has joined #ruby
eljimmy has joined #ruby
ngrin has quit [Ping timeout: 250 seconds]
<dobriennn>
is there a common reason for my database.yml file not use the environment variables set by .env.production? I'm running a cap production deploy and it's bombing out trying to connect to mysql over a socket instead of the host information provided
<c-c>
is that a rails question?
E7F3RN4 has quit [Ping timeout: 265 seconds]
<dobriennn>
ahh crap, probably is
JacobsLadd3r has joined #ruby
<c-c>
well, I will still guess, that your environment variables or some flag used to execute that is incorrect
phantummm has joined #ruby
GodFather has quit [Remote host closed the connection]
ngrin__ has joined #ruby
<terens>
I want to execute another process that would do some updates. However I want to monitor the progress of the process. Also there should be only one instance running. I haven't found a 100% good solution. My initial implementation is to acquire an EX lock to a file in order to prevent multiple instances running. Then in order to check from another process whether it is running I check it with ruby
<terens>
ps.
djbkd_ has joined #ruby
GodFather has joined #ruby
ngrin_ has quit [Ping timeout: 250 seconds]
_djbkd has quit [Read error: Connection reset by peer]
bocaneri has quit [Remote host closed the connection]
gusrub has joined #ruby
E7F3RN4 has joined #ruby
bjonnh has left #ruby ["WeeChat 1.0.1"]
zacts has quit [Ping timeout: 245 seconds]
edwinvdgraaf has joined #ruby
meth has quit [Quit: Leaving]
gusrub has quit []
cdg has quit [Remote host closed the connection]
mhib has quit [Quit: Leaving]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
jcao219 has quit [Ping timeout: 245 seconds]
peaches is now known as umlate
umlate is now known as umlaut
umlaut is now known as peaches
nicoulaj has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ngrin has quit [Quit: Leaving]
ramfjord has joined #ruby
ag4ve_ has quit [Ping timeout: 250 seconds]
djbkd_ has quit [Remote host closed the connection]
marxarelli is now known as marxarelli|afk
_djbkd has joined #ruby
dobriennn has quit [Ping timeout: 268 seconds]
User458764 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
zeroDi has quit [Read error: Connection reset by peer]
zeroDivi1 has joined #ruby
aaronds has joined #ruby
_djbkd has quit [Ping timeout: 268 seconds]
jaruga____ has quit [Quit: jaruga____]
hahuang61 has quit [Ping timeout: 268 seconds]
last_staff has quit [Read error: Connection reset by peer]
_djbkd has joined #ruby
conta has quit [Remote host closed the connection]
naprimer_2 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
conta has joined #ruby
naprimer_3 has quit [Ping timeout: 252 seconds]
hahuang61 has joined #ruby
jenrzzz has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
JacobsLadd3r has joined #ruby
ag4ve_ has joined #ruby
Madplatypus has joined #ruby
skweek has quit [Ping timeout: 250 seconds]
johnmilton has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
jeremyhall has quit [Read error: Connection reset by peer]
JeanCarloMachado has quit [Quit: Lost terminal]
jeremyhall has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
balazs has joined #ruby
ixti has joined #ruby
rkazak has joined #ruby
last_staff has joined #ruby
Devalo has quit [Ping timeout: 245 seconds]
jottr_ has joined #ruby
chrisja has joined #ruby
last_staff has quit [Client Quit]
jottr has quit [Ping timeout: 250 seconds]
cdg has joined #ruby
<chrisarcand>
I'm looking at the differences between multiline and nested modules and get the lexical aspect of it (I think) but confused as to what the exact reasoning is for trying to declare module nested on one line with a constant that doesn't exist:
tyang_ has joined #ruby
<chrisarcand>
>> module A::B; end
<ruby[bot]>
chrisarcand: # => uninitialized constant A (NameError) ...check link for more (https://eval.in/670765)
<chrisarcand>
Why exactly does that fail? Putting them on multiple lines succeeds.
mustmodify has left #ruby [#ruby]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zapata has quit [Quit: WeeChat 1.6]
marxarelli|afk is now known as marxarelli
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
tyang has quit [Ping timeout: 244 seconds]
marr has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ebbflowgo has joined #ruby
cdg has quit [Ping timeout: 268 seconds]
cdg has joined #ruby
quazimodo has joined #ruby
nchambers is now known as Scrooge
dopamean_ has joined #ruby
sigurding has joined #ruby
bmurt has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
ag4ve_ has quit [Ping timeout: 260 seconds]
synthroid has quit []
spoopyfox is now known as staticfox
skweek has joined #ruby
fnodeuser has joined #ruby
troys_ is now known as troys
ziarkaen has joined #ruby
ziarkaen_ has joined #ruby
Xeago has quit [Ping timeout: 250 seconds]
fnodeuser has left #ruby [#ruby]
whathappens has joined #ruby
whathapp_ has quit [Read error: Connection reset by peer]
whiteline has quit [Remote host closed the connection]
sigurding has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
whiteline has joined #ruby
Rodya_ has quit [Remote host closed the connection]
rodfersou is now known as rodfersou|lunch
ziarkaen_ has quit [Ping timeout: 245 seconds]
ziarkaen has quit [Ping timeout: 245 seconds]
skweek has quit [Ping timeout: 245 seconds]
rodfersou|lunch is now known as rodfersou|dinner
llua has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
skweek has joined #ruby
shmuli has joined #ruby
sigurding has joined #ruby
tau has quit [Remote host closed the connection]
nopolitica has quit [Ping timeout: 252 seconds]
tyang_ has quit [Ping timeout: 244 seconds]
nopolitica has joined #ruby
skweek has quit [Ping timeout: 245 seconds]
ziarkaen has joined #ruby
ziarkaen_ has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
swills has quit [Read error: Connection reset by peer]
flashpoint9 has quit [Remote host closed the connection]
smlocal has joined #ruby
flashpoint9 has joined #ruby
rodfersou|dinner has quit [Quit: leaving]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
swills has joined #ruby
ziarkaen has quit [Ping timeout: 250 seconds]
ziarkaen_ has quit [Ping timeout: 244 seconds]
bronson has quit [Read error: Connection reset by peer]
bronson has joined #ruby
tvw has joined #ruby
swills has quit [Max SendQ exceeded]
nopolitica has quit [Ping timeout: 245 seconds]
dnicole has joined #ruby
jcao219 has joined #ruby
flashpoint9 has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
whathapp_ has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
failshell has quit []
quazimodo has quit [Ping timeout: 250 seconds]
swills has joined #ruby
DEac-_ has quit [Ping timeout: 256 seconds]
aaronds has quit [Ping timeout: 260 seconds]
DEac- has joined #ruby
aaronds has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
tyaakow has joined #ruby
csk has joined #ruby
chouhoulis has quit [Remote host closed the connection]
whathapp_ has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
AndrewIsHere has joined #ruby
millerti has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
sigurding has quit [Quit: sigurding]
muelleme has joined #ruby
<hanmac>
chrisarcand: checkout Module#nesting ... its important for the resolution of constants
whathappens has quit [Read error: Connection reset by peer]
ramortegui has quit [Remote host closed the connection]
whathappens has joined #ruby
sepp2k has joined #ruby
Denis has joined #ruby
<Denis>
hello!)
<vktec>
Hi Denis
Denis is now known as Guest10453
<Guest10453>
Sorry, but i'm noob in ruby. Can I check yield for empty? Example: yield(:column_filter). What i do: <%= if yield(:column_filter).empty? -%> ... etc. But it isnt work.
oyes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ace05 has joined #ruby
jottr has joined #ruby
GodFather has quit [Ping timeout: 244 seconds]
jottr_ has quit [Ping timeout: 250 seconds]
<vktec>
That's not really a Ruby question. You'd probably be better off asking on #rubyonrails
<Guest10453>
ok)
<Guest10453>
thx
evidex has quit [Ping timeout: 260 seconds]
GodFather has joined #ruby
epitron has quit [Read error: Connection reset by peer]
johnmilton has joined #ruby
flashpoint9 has joined #ruby
xall has joined #ruby
lel_ has quit [Quit: leaving]
grh has quit [Ping timeout: 265 seconds]
ag4ve_ has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
claudiuinberlin has quit []
flashpoint9 has joined #ruby
TomyLobo has quit [Ping timeout: 250 seconds]
DEac- has quit [Ping timeout: 250 seconds]
whathappens has quit [Read error: Connection reset by peer]
whathapp_ has joined #ruby
matp has quit [Read error: Connection reset by peer]
DEac- has joined #ruby
matp has joined #ruby
flashpoint9 has quit [Ping timeout: 260 seconds]
peaches has left #ruby ["restart"]
whathapp_ has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
evidex has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
csk has quit [Read error: Connection reset by peer]
blackwind_123 has quit [Ping timeout: 265 seconds]
whathapp_ has joined #ruby
skweek has joined #ruby
jhack has quit [Quit: jhack]
whathappens has quit [Read error: Connection reset by peer]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackwind_123 has joined #ruby
csk has joined #ruby
muelleme has quit [Ping timeout: 260 seconds]
hahuang61 has quit [Ping timeout: 268 seconds]
johnmilton has quit [Ping timeout: 268 seconds]
nopolitica has joined #ruby
troys is now known as troys_
DEac- has quit [Ping timeout: 265 seconds]
Fichtenstein has quit [Quit: Fichtenstein]
discopatrick has quit [Ping timeout: 250 seconds]
DEac- has joined #ruby
ziarkaen has joined #ruby
ziarkaen_ has joined #ruby
hahuang61 has joined #ruby
discopatrick has joined #ruby
swills has quit [Ping timeout: 268 seconds]
swills has joined #ruby
renderful has quit [Remote host closed the connection]
ace05 has quit [Read error: Connection reset by peer]
ace05 has joined #ruby
troys_ is now known as troys
gizless has joined #ruby
gizmore has quit [Ping timeout: 250 seconds]
johnmilton has joined #ruby
marxarelli has quit [Read error: Connection reset by peer]
CloCkWeRX has joined #ruby
hutch34 has quit [Ping timeout: 244 seconds]
lacour has joined #ruby
troulouliou_div2 has joined #ruby
ziarkaen has quit [Ping timeout: 244 seconds]
polishdub has quit [Quit: Leaving]
ziarkaen_ has quit [Ping timeout: 250 seconds]
marxarelli has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
csk has quit [Quit: ZZZzzz…]
nopolitica has quit [Ping timeout: 260 seconds]
marxarelli has quit [Read error: Connection reset by peer]
c355e3b has quit [Ping timeout: 250 seconds]
johnmilton has quit [Remote host closed the connection]
hutch34 has joined #ruby
c355e3b has joined #ruby
aaronds_ has joined #ruby
cdg has quit [Remote host closed the connection]
aaronds has quit [Ping timeout: 245 seconds]
dmin7b5 has joined #ruby
nettoweb has joined #ruby
poikon has quit [Ping timeout: 260 seconds]
ziarkaen has joined #ruby
ziarkaen_ has joined #ruby
E7F3RN4 has quit [Ping timeout: 250 seconds]
biberu has quit []
A124 has quit [Read error: Connection reset by peer]
poikon has joined #ruby
AlphaAtom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nettoweb has quit [Client Quit]
A124 has joined #ruby
benlieb has quit [Quit: benlieb]
ziarkaen has quit [Ping timeout: 244 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
ziarkaen_ has quit [Ping timeout: 250 seconds]
AndrewIsHere has quit []
ebbflowgo has quit [Read error: Connection reset by peer]
ebbflowgo has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
nopolitica has joined #ruby
Jackneill_ has quit [Remote host closed the connection]
cdg has joined #ruby
quazimodo has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
bovis has quit [Quit: leaving]
nettoweb has joined #ruby
jackjackdripper has quit [Client Quit]
troulouliou_div2 has quit [Quit: Leaving]
brent__ has joined #ruby
jeremyhall has quit [Ping timeout: 260 seconds]
solocshaw has joined #ruby
weemsledeux has joined #ruby
Guest10453 is now known as n0a
flashpoint9 has joined #ruby
kirun has quit [Quit: Konversation terminated!]
mpwin has quit [Quit: Leaving...]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
E7F3RN4 has joined #ruby
nettoweb has joined #ruby
tomphp has joined #ruby
ziarkaen has joined #ruby
ziarkaen_ has joined #ruby
solocshaw has quit [Ping timeout: 260 seconds]
whathapp_ has quit [Quit: Leaving...]
tomphp has quit [Client Quit]
smlocal has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
epitron has joined #ruby
startupality has quit [Quit: startupality]
LoneHerm_ has quit [Remote host closed the connection]
ziarkaen_ has quit [Ping timeout: 260 seconds]
ziarkaen has quit [Ping timeout: 260 seconds]
LoneHerm_ has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
LoneHerm_ has quit [Ping timeout: 244 seconds]
elenatanasoiu has joined #ruby
dnicole has quit [Remote host closed the connection]
nopolitica has quit [Ping timeout: 252 seconds]
elenatanasoiu has quit [Ping timeout: 244 seconds]
sneakers has joined #ruby
ziarkaen has joined #ruby
ziarkaen_ has joined #ruby
startupality has joined #ruby
nopolitica has joined #ruby
skweek has joined #ruby
Darmani has joined #ruby
<Darmani>
Hi everyone! I was going through the exercism tests for the Ruby track and I can't even get past the first time :[
<baweaver>
(technically you don't need an if branch either)
<Darmani>
baweaver: You don't...?
ag4ve_ has joined #ruby
<baweaver>
Ruby method arguments
<baweaver>
what happens when one isn't passed?
<baweaver>
how do you get around that issue?
<Darmani>
Well if you required one it would fail...
<baweaver>
then what's the opposite of a required argument?
troys is now known as troys_
<Darmani>
A non-argument method...?
i8igmac has joined #ruby
<baweaver>
nope
<baweaver>
opposite of required
<Darmani>
An optional argument?
<baweaver>
bingo
<Darmani>
That's a thing?
<baweaver>
yep
<i8igmac>
im not sure of the install procedure of bootstrap for rails 5.0.0.1
<Darmani>
how2dosthis.jpg
<baweaver>
google primarily.
<Darmani>
D:
<baweaver>
i8igmac: #RubyOnRails, though you'd add it to your Gemfile probably.
<baweaver>
just like any other version
<baweaver>
also optional arguments can have default values
charliesome has joined #ruby
<Darmani>
Oh so you give it a nil value?
<baweaver>
you could
<baweaver>
but note that I said that you don't technically need an if
<baweaver>
which implies that you don't need to pass it anything
<Darmani>
That doesn't work for the test though because then it only returns Hello, !
<baweaver>
default arguments
<Darmani>
oh I see. Give it a default of "world" and if it's given a argument give that instead
<baweaver>
almost there
<baweaver>
where do you set that default?
<Darmani>
def self.hello(name = "World")
<baweaver>
there you go
<Darmani>
I had no idea you could do that.
<baweaver>
now then, say you didn't have that option and you passed nil
<baweaver>
that's when you use a conditional
firstdayonthejob has quit [Ping timeout: 256 seconds]
solocshaw has quit [Quit: solocshaw]
<Darmani>
So... if name == nil, then do something?
<baweaver>
but in this case a default argument is correct
<baweaver>
if name
<baweaver>
== nil is redundant because nil is falsy
solocshaw has joined #ruby
<Darmani>
if name === nil then?
<baweaver>
see above
jottr has joined #ruby
<Darmani>
ah I see.
<baweaver>
you might want to thumb through Eloquent Ruby
<Darmani>
Eloquent Ruby o.o
<baweaver>
It's a book that shows you how to program Ruby like Ruby
<baweaver>
you were basically going for a Java-like method overloading with argument signatures
L0rdShrek_____ has quit [Quit: Connection closed for inactivity]
<Darmani>
I'm not really trained or anything man... I just do what I can.
ChiefAlexander has joined #ruby
<baweaver>
Just saying that that style is very common in Java
aaronds_ has quit [Ping timeout: 256 seconds]
<baweaver>
leading me to think you were a Java person before
<baweaver>
in any case everyone has to start somewhere.
<Darmani>
Nah that's just where my thought pattern led me I guess. I started here in Ruby.
rcvalle has quit [Quit: rcvalle]
<Darmani>
Thank you though I just found the book.
evidex has quit [Ping timeout: 245 seconds]
ag4ve_ has quit [Ping timeout: 265 seconds]
<baweaver>
If you find that one hard I would look into Programming Ruby. If you find it easy enough, The Ruby Way and Practical Object Oriented Design in Ruby.
<Darmani>
baweaver: You've read a lot of books haven't you.
<baweaver>
indeed
<Darmani>
I've always been more of a visual learner. I learned through YouTube videos, Codecademy, that kind of thing.