havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://gist.github.com | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby
<baweaver> So you can have a group of "guards" to transform a value, then just mix it in with a ` reduce { |_ v| status, result = guard[v]; break result if status } `
<baweaver> ...or just use Qo which wraps this all up in a nice package: Qo.match(value) { |m| m.when(cond) { |v| v * 20 } }
Nuve has quit [Quit: ✌]
jenrzzz has joined #ruby
<baweaver> This is Qo - https://github.com/baweaver/qo
<baweaver> We are Qo. Everything is Qo
kwerle has quit [Ping timeout: 260 seconds]
jcarl43 has quit [Quit: WeeChat 2.1]
orbyt_ has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 265 seconds]
raynold has joined #ruby
lytol has joined #ruby
crankharder has joined #ruby
ramfjord has joined #ruby
residentbiscuit has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 256 seconds]
cagomez has quit [Remote host closed the connection]
ramfjord has joined #ruby
cagomez has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
ramfjord has quit [Ping timeout: 265 seconds]
Yzguy has quit [Quit: Bye]
cagomez has quit [Ping timeout: 260 seconds]
ciscam has quit [Ping timeout: 245 seconds]
ramfjord has joined #ruby
ciscam has joined #ruby
dendazen has joined #ruby
<Radar> baweaver: hax
<Radar> baweaver: one cookie for you 🍪
residentbiscuit has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
mjolnird has quit [Remote host closed the connection]
minimalism has joined #ruby
fredlinhares has quit [Ping timeout: 256 seconds]
mikeiniowa has quit [Remote host closed the connection]
eckhard__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikeiniowa has joined #ruby
residentbiscuit has quit []
fredlinhares has joined #ruby
dreamthese has quit [Remote host closed the connection]
dreamthese has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
venmx has quit [Ping timeout: 240 seconds]
amar_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
tdy has quit [Ping timeout: 260 seconds]
<regedit> anyone? how can i do this the Sidekiq way https://github.com/httprb/http/wiki/Thread-Safety
<regedit> trying to persist connection (keep-alive) across many executions of a sidekiq worker
herbmillerjr has joined #ruby
<regedit> ex. imagine queueing up a bunch of Sidekiq tasks each of which performs an API call to the same host
amar_ has quit [Ping timeout: 264 seconds]
gizmore|2 has joined #ruby
ramfjord has joined #ruby
tdy has joined #ruby
gizmore has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
derp10327 has quit [Quit: Leaving]
cagomez has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
vutral|kali has quit [Quit: Lost terminal]
nicht_ has joined #ruby
ramfjord_ has joined #ruby
ramfjord has quit [Ping timeout: 268 seconds]
ramfjord_ has quit [Ping timeout: 265 seconds]
BlopMonster has joined #ruby
eelster has joined #ruby
Eiam has quit [Ping timeout: 276 seconds]
BlopMonster has quit [Ping timeout: 256 seconds]
chamar has joined #ruby
icarus has quit [Quit: Lost terminal]
Azure has quit [Ping timeout: 260 seconds]
Azure has joined #ruby
orbyt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
nicht_ has quit [Ping timeout: 245 seconds]
mjolnird has joined #ruby
fredlinhares has quit [Quit: WeeChat 1.4]
nicht_ has joined #ruby
SuperLag has quit [Ping timeout: 276 seconds]
SuperLag has joined #ruby
ciscam has quit [Ping timeout: 256 seconds]
pabs has quit [Ping timeout: 264 seconds]
ciscam has joined #ruby
akaiiro has quit [Remote host closed the connection]
pabs has joined #ruby
nicht_ has quit [Read error: Connection reset by peer]
nicht_ has joined #ruby
akaiiro has joined #ruby
nicht_ has quit [Excess Flood]
nicht_ has joined #ruby
jamesaxl has quit [Quit: WeeChat 2.1]
cadillac_ has joined #ruby
Dimik has quit [Ping timeout: 245 seconds]
Puffball has joined #ruby
braincrash has quit [Quit: bye bye]
braincrash has joined #ruby
banisterfiend has joined #ruby
Puffball has quit [Read error: Connection reset by peer]
AJA4350 has quit [Remote host closed the connection]
cagomez has joined #ruby
nicht_ has quit [Remote host closed the connection]
nicht_ has joined #ruby
chamar has quit [Quit: Leaving]
gix has joined #ruby
RougeR has quit [Ping timeout: 256 seconds]
hello_joe has joined #ruby
gix- has quit [Ping timeout: 265 seconds]
hello_joe has quit [Client Quit]
barq_ has joined #ruby
barq_ has left #ruby [#ruby]
dinfuehr has quit [Ping timeout: 264 seconds]
nicht_ has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
minimalism is now known as tty
claw has quit [Ping timeout: 265 seconds]
bmurt has joined #ruby
guille-moe has joined #ruby
guille-moe has quit [Client Quit]
dendazen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bonhoeffer_win has quit [Ping timeout: 256 seconds]
Owner has quit [Remote host closed the connection]
BlopMonster has joined #ruby
BlopMonster has quit [Ping timeout: 264 seconds]
cagomez has quit [Remote host closed the connection]
claw has joined #ruby
<dminuoso> regedit: Use concurrent-ruby?
kmurphy4 has joined #ruby
<dminuoso> regedit: the sidekiq way is to use idempotent actions, so you wont care if its executed twice
akaiiro has quit [Remote host closed the connection]
amar has joined #ruby
amar has quit [Ping timeout: 245 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
byte00 has joined #ruby
ur5us has quit [Ping timeout: 245 seconds]
ur5us has joined #ruby
aupadhye has joined #ruby
reber has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
BTRE has joined #ruby
venmx has joined #ruby
aufi has joined #ruby
anisha has joined #ruby
ciscam has quit [Ping timeout: 248 seconds]
ciscam has joined #ruby
ta_ has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
venmx has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 260 seconds]
aufi has quit [Ping timeout: 264 seconds]
BlopMonster has joined #ruby
clemens3_ has joined #ruby
BlopMonster has quit [Ping timeout: 268 seconds]
venmx has joined #ruby
ethic has joined #ruby
aupadhye has quit [Ping timeout: 264 seconds]
ethic has quit [Quit: leaving]
ta_ has joined #ruby
venmx has quit [Ping timeout: 268 seconds]
Mrgoose has quit [Ping timeout: 256 seconds]
aupadhye has joined #ruby
byte00 has quit [Ping timeout: 248 seconds]
hfp_work has quit [Ping timeout: 268 seconds]
psychicist__ has joined #ruby
hfp_work has joined #ruby
elsurudo has joined #ruby
dionysus69 has joined #ruby
amar has joined #ruby
armyriad has quit [Quit: Leaving]
howdoi has quit [Quit: Connection closed for inactivity]
kmurphy4 has quit [Quit: kmurphy4]
byte00 has joined #ruby
andikr has joined #ruby
amar_ has joined #ruby
amelliaa has joined #ruby
amar has quit [Ping timeout: 245 seconds]
mint has joined #ruby
mtkd has joined #ruby
aupadhye has quit [Ping timeout: 245 seconds]
kmurphy4 has joined #ruby
clemens3 has joined #ruby
pabs has quit [Ping timeout: 268 seconds]
ramfjord has joined #ruby
mint has quit [Quit: WeeChat 0.4.2]
claudiuinberlin has joined #ruby
joast has quit [Ping timeout: 244 seconds]
sysvalve has joined #ruby
\void has quit [Ping timeout: 260 seconds]
pabs has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
\void has joined #ruby
aupadhye has joined #ruby
aupadhye is now known as aupadhye|food
Burgestrand has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
drale2k_ has joined #ruby
drale2k_ has quit [Client Quit]
elsurudo has quit [Quit: elsurudo]
aufi has joined #ruby
regedit has quit [Quit: Connection closed for inactivity]
biberu has joined #ruby
amar_ has quit [Remote host closed the connection]
amar has joined #ruby
amar has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
amar has joined #ruby
Burgestrand has quit [Quit: Closing time!]
Burgestrand has joined #ruby
drale2k_ has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
Lee_Ash has joined #ruby
suukim has joined #ruby
amar has quit [Remote host closed the connection]
plexigras has joined #ruby
<syndikate> What was rib navigation shortcut inspiration?
<syndikate> I see resemblance to emacs
schleppel has joined #ruby
byte00 has quit [Ping timeout: 276 seconds]
roshanavand has joined #ruby
arne has joined #ruby
roshanavand has quit [Client Quit]
dr3w_ has joined #ruby
psychicist__ has quit [Ping timeout: 256 seconds]
jinie has joined #ruby
Lee_Ash has quit [Quit: Leaving]
amar has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
linduxed has quit [Ping timeout: 260 seconds]
dinfuehr has joined #ruby
amar has quit [Ping timeout: 256 seconds]
Mrgoose has joined #ruby
armando_ has quit [Ping timeout: 264 seconds]
amar has joined #ruby
amelliaa has quit [Quit: -]
armando has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
linduxed has joined #ruby
psychicist__ has joined #ruby
kapil___ has joined #ruby
tvw has joined #ruby
ur5us has joined #ruby
dinfuehr has quit [Ping timeout: 264 seconds]
dinfuehr has joined #ruby
asio has quit [Ping timeout: 244 seconds]
kliq has joined #ruby
amar has quit [Remote host closed the connection]
amar_ has joined #ruby
conta has joined #ruby
amar_ has quit [Ping timeout: 240 seconds]
kmurphy4 has quit [Remote host closed the connection]
basic has joined #ruby
<basic> how would you guys generate rsa keys without delay? as in.. http request comes and asks for a rsa key?
Mrgoose has quit [Ping timeout: 256 seconds]
<basic> would you have a thread that sleeps all the time and has keys in a queueh
<basic> but then i would have to generate a trillion rsa keys on startup
<Burgestrand> … or at least enough of them to satisfy the rate going out.
<basic> i feel like saving them in a database is overkill
<basic> but it would be the correct approach wouldnt it?
<Burgestrand> Instant-generating RSA keys sounds like an interesting problem to create for yourself, but if you really want to do that it's a classic producer/consumer problem and reducing the latency between them, so pre-creating enough to satisfy demand and generating them in the background if your queue ever shrinks sounds like a sane idea.
<basic> i remember doing this already, and it reduced startup time
<basic> increased*
<basic> by alot
Mrgoose2 has joined #ruby
tomeaton17 has quit [Quit: ZNC 1.7.0 - https://znc.in]
tomeaton17 has joined #ruby
NL3limin4t0r has joined #ruby
anisha_ has joined #ruby
tvw has quit [Ping timeout: 264 seconds]
anisha has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 256 seconds]
aufi_ has joined #ruby
aufi has quit [Ping timeout: 260 seconds]
venmx has joined #ruby
basic has quit [Quit: Lost terminal]
kmurphy4 has joined #ruby
Guest93035 has joined #ruby
Guest93035 is now known as Sina
Sina has quit [Changing host]
Sina has joined #ruby
Sina has joined #ruby
Charliebr73 has joined #ruby
suukim has quit [Quit: Konversation terminated!]
drale2k_ has joined #ruby
drale2k_ has quit [Client Quit]
conta has quit [Quit: conta]
cliq has joined #ruby
<dminuoso> Burgestrand: Hah you dont even need to be that crazy.
kliq has quit [Ping timeout: 248 seconds]
aufi_ has quit [Ping timeout: 248 seconds]
ramfjord has joined #ruby
amar_ has joined #ruby
<dminuoso> although..
<dminuoso> Burgestrand: gotta admit the beauty of STM: https://gist.github.com/dminuoso/51023c49eba66de21ac3776ee14003c7
anisha_ has quit [Read error: Connection reset by peer]
conta has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
Burgestrand has quit [Quit: Closing time!]
anisha has joined #ruby
anisha has quit [Read error: Connection reset by peer]
<arne> if i want to redefine a class method programaticially
<arne> what do i use
<arne> define_singleton_method
<dminuoso> Dont.
<dminuoso> arne: You should rethink what you are doing.
byte00 has joined #ruby
<arne> yeah still, what would i use
<arne> im just playing around how to solve this
<dminuoso> ?xy
<ruby[bot]> it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
BlopMonster has joined #ruby
<arne> well.. i want to exchange a method for a cached version of the methid
<dminuoso> arne: so you want memoization?
<arne> kinda, but not really
<dminuoso> Can you elaborate on this?
<arne> the code returns a rsa key, and that takes long
sphenxes has joined #ruby
<arne> this is okay for most of my cases
<arne> but one program, using the same codebase, needs it quick
<dminuoso> arne: check my previous gist.
<arne> still would love to know, what would be the "correct" way, just so i know ruby
<dminuoso> if you are happy with just a single slot, you can toss the array/if/raise away
<arne> class = singleton object, right?
anisha has joined #ruby
<dminuoso> arne: I'd just use a TVar
drale2k_ has joined #ruby
<dminuoso> Its a powerful abstraction, and doesnt rely on horrible "lets modify code at runtime"
<arne> yeah, still i would love to know :> i know it wouldn't be pretty
<apeiros> arne: redefining a method is the same as defining
<apeiros> only difference being that there already was a method of the same name before.
<arne> my only "real" approach to this would be to safe the thing in the database
<arne> so.. def self.something;def self self.otherthing;"x";end;end; would work?
<apeiros> so yes, define_singleton_method, or def theclass.method, or singleton_class.define_method
<dminuoso> arne: Like I said. Spin up a simple thread, and have that thread pump RSA keys into a tvar.
<dminuoso> and then just consume that tvar.
<dminuoso> things will work out automatically with no real overhead
<arne> i have no clue what a tvar is
<dminuoso> arne: a transactional variable
<apeiros> but IMO what Burgestrand & dminuoso said.
<dminuoso> arne: it's a 5 lines of code solution
BlopMonster has quit [Ping timeout: 276 seconds]
<dminuoso> arne: its thread safe, and it can be scaled to provide filled buffers with less than 10 lines of code.
<arne> well but i don't have concurrent-ruby in my gemfile.. and it feels a bit overhead to use that just for that one feature
riceandbeans has joined #ruby
<riceandbeans> When using rubocop, how would you tackle ABC complaints?
elphe has joined #ruby
cadillac_ has quit [Ping timeout: 265 seconds]
cadillac_ has joined #ruby
psychicist__ has quit [Ping timeout: 256 seconds]
amar_ has quit [Remote host closed the connection]
bbobb has joined #ruby
RougeR has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
nullmoose[m] has left #ruby ["Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days"]
ur5us has quit [Remote host closed the connection]
ferr has quit [Read error: No route to host]
amar_ has joined #ruby
aufi_ has joined #ruby
elphe has joined #ruby
ferr has joined #ruby
jrafanie has joined #ruby
ur5us has joined #ruby
suukim has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
AJA4350 has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apparition47 has joined #ruby
reber has quit [Remote host closed the connection]
terens has joined #ruby
<terens> hello
failednoose[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
karapetyan has joined #ruby
kmurphy4 has quit [Quit: kmurphy4]
<arne> terens: hello!
shinnya has joined #ruby
reber has joined #ruby
<TvL2386> hello
ldnunes has joined #ruby
Nussi has quit [Remote host closed the connection]
ShekharReddy has quit [Quit: Connection closed for inactivity]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<NL3limin4t0r> riceandbeans: By reducing code complexity. ABC is calculated by sqrt( assignment_count**2 + method_call_count**2 + condition_count**2 )
<NL3limin4t0r> If you for example use many method calls and no variables you might want to even it up a little.
<NL3limin4t0r> If the method is still too complex you might want to extract some complexity to it's own method.
terens has quit [Read error: Connection reset by peer]
<NL3limin4t0r> Alternatively you can up the abc threshold in the RuboCop settings (if the default setting doesn't suit your taste).
beefjoe has joined #ruby
mtkd has quit []
<NL3limin4t0r> Keep in mind that there are some not so obvious cases, for example this is a variable assignment `some_variable = 1` and this is a method call `hash[:some_key] = 1`.
mtkd has joined #ruby
amar_ has quit [Remote host closed the connection]
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
amar_ has joined #ruby
yohji has joined #ruby
za1b1tsu has joined #ruby
yohji has quit [Client Quit]
yohji has joined #ruby
Burgestrand has joined #ruby
synthroid has joined #ruby
beefjoe has quit [Ping timeout: 265 seconds]
t0xik has quit [Quit: Connection closed for inactivity]
ramfjord has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
ramfjord has quit [Ping timeout: 256 seconds]
BlopMonster has joined #ruby
elphe has joined #ruby
siery has quit [Ping timeout: 265 seconds]
vondruch_ has joined #ruby
fmcgeough has joined #ruby
fmcgeough has quit [Client Quit]
BlopMonster has quit [Ping timeout: 240 seconds]
vondruch_ has quit [Client Quit]
vondruch_ has joined #ruby
vondruch has quit [Ping timeout: 248 seconds]
vondruch_ is now known as vondruch
elphe has quit [Ping timeout: 245 seconds]
Burgestrand has quit [Quit: Closing time!]
BlopMonster has joined #ruby
kapil___ has joined #ruby
Zaab1t has joined #ruby
bmurt has joined #ruby
joast has joined #ruby
aufi_ has quit [Ping timeout: 256 seconds]
conta has quit [Quit: conta]
jottr has joined #ruby
elphe has joined #ruby
elphe has quit [Ping timeout: 248 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jds has joined #ruby
jds is now known as Guest34432
Guest34432 is now known as jdelStrother
Charliebr73 has quit []
ren0v0 has joined #ruby
Asher has quit [Ping timeout: 276 seconds]
gnufied has joined #ruby
mtkd has quit []
fmcgeough has joined #ruby
ta_ has quit [Quit: Leaving...]
mtkd has joined #ruby
akem_ has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
akem has quit [Ping timeout: 265 seconds]
cliq has quit [Ping timeout: 245 seconds]
synthroid has quit [Remote host closed the connection]
elphe has joined #ruby
BlopMonster has quit [Ping timeout: 264 seconds]
elphe has quit [Ping timeout: 260 seconds]
gil_ has quit [Ping timeout: 245 seconds]
nahra has joined #ruby
elphe has joined #ruby
asio has joined #ruby
gil_ has joined #ruby
ramfjord has joined #ruby
nahra` has joined #ruby
nahra` has quit [Remote host closed the connection]
synthroid has joined #ruby
nahra has quit [Ping timeout: 264 seconds]
asio has quit [Ping timeout: 255 seconds]
elphe has quit [Ping timeout: 260 seconds]
ramfjord has quit [Ping timeout: 256 seconds]
nahra has joined #ruby
banisterfiend has joined #ruby
elphe has joined #ruby
griffindy has joined #ruby
asio has joined #ruby
aupadhye|food has quit [Ping timeout: 240 seconds]
elphe has quit [Ping timeout: 248 seconds]
shinnya has quit [Ping timeout: 260 seconds]
beefjoe has joined #ruby
asio has quit [Ping timeout: 264 seconds]
elphe has joined #ruby
k0mpa has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pastorinni has joined #ruby
BlopMonster has joined #ruby
dendazen has joined #ruby
Rapture has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
Asher has joined #ruby
Rapture has quit [Client Quit]
Nuve has joined #ruby
Asher has quit [Ping timeout: 276 seconds]
BlopMonster has quit [Ping timeout: 260 seconds]
psychicist__ has joined #ruby
mtkd has quit []
mtkd has joined #ruby
pastorinni has quit [Remote host closed the connection]
jrafanie has joined #ruby
pastorinni has joined #ruby
Rapture has joined #ruby
RougeR has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
ciscam has quit [Ping timeout: 260 seconds]
apparition47 has quit [Quit: Bye]
elomatreb has joined #ruby
ciscam has joined #ruby
pastorinni has quit [Ping timeout: 256 seconds]
<rprimus> hey guys - trying to figure why $_ is not 'working as expected':
<rprimus> : ; echo 'fred' | /usr/bin/ruby -pe 'print %x(echo $_)'
<rprimus> /usr/bin/ruby
<rprimus> fred
<rprimus> vs
<rprimus> : ; echo 'fred' | /usr/bin/ruby -ne 'print %x(echo $_)'
<rprimus> /usr/bin/ruby
<rprimus> ... with '-p', it correctly prints $_
<rprimus> however, within %x(), it's picking up the interpreter.
Puffball has joined #ruby
<rprimus> : ; /usr/bin/ruby --version
<rprimus> ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin17]
pastorinni has joined #ruby
elphe has quit [Ping timeout: 248 seconds]
RougeR has joined #ruby
pastorinni has quit [Ping timeout: 240 seconds]
<apeiros> rprimus: `echo $_` is literally echo $_ in a subshell. you want interpolation: `echo #{$_}`
pastorinni has joined #ruby
TvL2386 has quit [Ping timeout: 248 seconds]
<rprimus> aperios: Thank you!
<rprimus> perl -> ruby != 1:1
<apeiros> ?tabnick rprimus
<ruby[bot]> rprimus: pro-tip - use tab completion for nicks. avoids typos in nicks.
<rprimus> apeiros: learnt something else new today! Thanks.
<apeiros> yw
pastorinni has quit [Ping timeout: 245 seconds]
troys has joined #ruby
sphenxes has quit [Ping timeout: 245 seconds]
elomatreb has quit [Quit: ZNC - https://znc.in]
elomatreb has joined #ruby
elomatreb has left #ruby [#ruby]
elphe has joined #ruby
elomatreb has joined #ruby
rippa has joined #ruby
pastorinni has joined #ruby
weaksauce has quit [Ping timeout: 256 seconds]
elphe has quit [Ping timeout: 260 seconds]
BlopMonster has joined #ruby
pastorinni has quit [Ping timeout: 256 seconds]
elphe has joined #ruby
biberu has quit []
karapetyan has quit [Remote host closed the connection]
cschneid has joined #ruby
pastorinni has joined #ruby
sphenxes has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
pastorinni has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
thadtheman has joined #ruby
<thadtheman> Is there a good way of tracing a ruby program?
BlopMonster has quit [Ping timeout: 260 seconds]
<rprimus> try rbspy.github.io
<apeiros> &ri TracePoint thadtheman
<apeiros> oh dear, that bot is still offline, right…
pastorinni has joined #ruby
karapetyan has joined #ruby
KeyJoo has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
pastorinni has quit [Ping timeout: 265 seconds]
andikr has quit [Remote host closed the connection]
KeyJoo has joined #ruby
elphe has joined #ruby
pastorinni has joined #ruby
elphe has quit [Ping timeout: 264 seconds]
synthroid has quit [Remote host closed the connection]
pastorinni has quit [Ping timeout: 260 seconds]
tcopeland has joined #ruby
mtkd has quit []
kapil___ has quit [Quit: Connection closed for inactivity]
amar_ has quit [Remote host closed the connection]
akaiiro has joined #ruby
amar_ has joined #ruby
amar_ has quit [Remote host closed the connection]
amar_ has joined #ruby
pastorinni has joined #ruby
TvL2386 has joined #ruby
byte00 has quit [Ping timeout: 264 seconds]
jamesaxl has joined #ruby
karapetyan has joined #ruby
mtkd has joined #ruby
ShekharReddy has joined #ruby
pastorinni has quit [Ping timeout: 248 seconds]
Zaab1t has quit [Quit: Zaab1t]
pabs has quit [Ping timeout: 264 seconds]
elphe has joined #ruby
karapetyan has quit [Ping timeout: 248 seconds]
venmx has quit [Ping timeout: 264 seconds]
pastorinni has joined #ruby
elphe has quit [Ping timeout: 255 seconds]
jcarl43 has joined #ruby
BlopMonster has joined #ruby
amatas has joined #ruby
amatas has quit [Client Quit]
pastorinni has quit [Ping timeout: 240 seconds]
cschneid has quit []
amatas has joined #ruby
elphe has joined #ruby
pabs has joined #ruby
nythalcrow has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
pastorinni has joined #ruby
BlopMonster has quit [Ping timeout: 260 seconds]
pastorinni has quit [Ping timeout: 264 seconds]
<dminuoso> Oh goodie.
<dminuoso> I wrote myself a sleek transactional queue for ruby
nythalcrow has quit [Quit: This computer has gone to sleep]
<dminuoso> I should gemify it.
<dminuoso> micro gems are good.
amar_ has quit [Remote host closed the connection]
cagomez has joined #ruby
amar_ has joined #ruby
grilix has joined #ruby
pastorinni has joined #ruby
amar_ has quit [Remote host closed the connection]
karapetyan has joined #ruby
pastorinni has quit [Ping timeout: 256 seconds]
elphe has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
chouhoulis has joined #ruby
[Butch] has joined #ruby
karapetyan has quit [Ping timeout: 245 seconds]
[Butch] has quit [Client Quit]
banisterfiend has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
apeiros has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
pastorinni has joined #ruby
elphe has quit [Ping timeout: 256 seconds]
chouhoulis has joined #ruby
[Butch] has joined #ruby
pastorinni has quit [Ping timeout: 265 seconds]
yohji has quit [Remote host closed the connection]
elphe has joined #ruby
synthroid has joined #ruby
elphe has quit [Ping timeout: 265 seconds]
pastorinni has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 248 seconds]
jcarl43 has quit [Read error: Connection reset by peer]
TomyLobo has joined #ruby
pastorinni has quit [Ping timeout: 248 seconds]
elphe has joined #ruby
za1b1tsu has quit [Ping timeout: 256 seconds]
mikecmpbll has quit [Ping timeout: 240 seconds]
elphe has quit [Ping timeout: 245 seconds]
pastorinni has joined #ruby
Asher has joined #ruby
SeepingN has joined #ruby
banisterfiend has joined #ruby
<dminuoso> Not bad, discovered some fundamental bugs in concurrent-ruby..
jcarl43 has joined #ruby
pastorinni has quit [Ping timeout: 245 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amar_ has joined #ruby
pastorinni has joined #ruby
amar_ has quit [Ping timeout: 240 seconds]
oz has quit [Ping timeout: 276 seconds]
oz has joined #ruby
pocketprotector has quit [Ping timeout: 276 seconds]
elphe has joined #ruby
drale2k_ has quit [Ping timeout: 276 seconds]
pastorinni has quit [Ping timeout: 260 seconds]
Eiam has joined #ruby
jrich523 has joined #ruby
<jrich523> hey guys, is there a cmd to install a gem from a git like you can in a gemfile?
pocketprotector has joined #ruby
<jrich523> google makes it seem like i cant, but i feel like if it can easily be done by the file, i should be able to do it via the cmdline?
elphe has quit [Ping timeout: 264 seconds]
<dminuoso> jrich523: Download the repository and install the gem manually?
<jrich523> yeah, was wondering if there was any other options, just seems like it should be built in
pastorinni has joined #ruby
<jrich523> if thats it, thats it... thanks :)
<dminuoso> jrich523: Dunno whether it should be built in..
<dminuoso> jrich523: globally installing gems is generally not a good thing
<dminuoso> Especially not unstable gems.
<dminuoso> Use Bundler.
sysvalve has quit [Quit: Leaving]
<jrich523> wanted to test just a part of a larger app via IRB, just needed to pull in one gem for this test.. was mostly just curious if there was a way outside of manual stuff
<dminuoso> jrich523: modify the Gemfile.
lmat has left #ruby [#ruby]
pastorinni has quit [Remote host closed the connection]
<jrich523> im not sure i follow? the app's gemfile is fine.... i dont want to run the app, i just want to screw around with a segement of code... and to do that i need to load the module
<dminuoso> jrich523: You modify the Gemfile of the project.
biberu has joined #ruby
pastorinni has joined #ruby
<jrich523> its to query puppet, so i want to run some queries to mess around with the return data, so i know what im getting and need to work with
<dminuoso> jrich523: So the code uses bundler right?
<jrich523> the app has a gemfile, and is used via bundler, yes
<jrich523> the app is all well and good.. just large, and i just want to know the format of the data its getting from puppet, so i can extend what info the app has
<jrich523> i'd rather not run the whole app to do this
<jrich523> i was going to load the puppetdb module (our copy of it inhouse)
<jrich523> so that i could query puppet, in a similar way that the app does, so i can play with the data, and perhaps tweak the query
<jrich523> seemed the the best way to play with the returned data, was to just hop in IRB and start running some queries
pastorinni has quit [Remote host closed the connection]
<dminuoso> jrich523: You dont have to run the whole app.
npgm has joined #ruby
<dminuoso> jrich523: A Gemfile is basically a sandbox of gems.
<dminuoso> Bundler lets you run things with that sandbox.
pastorinni has joined #ruby
<dminuoso> If you modify the Gemfile, you change the gems that are available from within that sandbox
<dminuoso> You can use bundler to execute arbitrary things
<jrich523> oh, i didnt realize that was possible
<jrich523> still pretty new to ruby
<dminuoso> like `bundler exec irb`
<dminuoso> or `bundler ruby some_file.rb`
<dminuoso> and it will execute them from within that sandbox environment
<havenwood> jrich523: You can just modify an installed gem as well: gem open GEM_NAME
<havenwood> jrich523: And restore it to original condition: gem pristine GEM_NAME
* dminuoso spanks havenwood
<jrich523> lol
za1b1tsu has joined #ruby
<dminuoso> bad case of ruby monkeypatcherities today?
<jrich523> also, whoever told me to get eloquent ruby, thanks, its been a good book... tad wordy, but good :)
<dminuoso> I consider it bad taste to manipulate your global gems.
ramfjord has joined #ruby
elphe has joined #ruby
za1b1tsu has quit [Ping timeout: 240 seconds]
beefjoe has quit [Ping timeout: 240 seconds]
nowhere_man has quit [Read error: Connection reset by peer]
nowhereman_ has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
psychicist__ has quit [Quit: Lost terminal]
eckhardt_ has joined #ruby
psychicist__ has joined #ruby
elphe has joined #ruby
akaiiro has quit [Ping timeout: 268 seconds]
<Eiam> I just have a monkeypatch.rb
<Eiam> that contains all of that
jottr has quit [Ping timeout: 276 seconds]
elphe has quit [Ping timeout: 264 seconds]
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
ciscam has quit [Ping timeout: 240 seconds]
ciscam has joined #ruby
akem has joined #ruby
sanscoeur has joined #ruby
hph^ has joined #ruby
akem_ has quit [Ping timeout: 256 seconds]
dionysus69 has quit [Ping timeout: 264 seconds]
pastorinni has quit [Read error: No route to host]
pastorinni has joined #ruby
akaiiro has joined #ruby
mtkd has quit [Ping timeout: 248 seconds]
regedit has joined #ruby
amar_ has joined #ruby
mtkd has joined #ruby
elphe has joined #ruby
claudiuinberlin has joined #ruby
dr3w_ has joined #ruby
ShekharReddy has quit [Quit: Connection closed for inactivity]
jottr has joined #ruby
elphe has quit [Ping timeout: 268 seconds]
kliq has joined #ruby
za1b1tsu has joined #ruby
claudiuinberlin has quit [Ping timeout: 245 seconds]
elphe has joined #ruby
za1b1tsu has quit [Ping timeout: 248 seconds]
elphe has quit [Ping timeout: 248 seconds]
jottr has quit [Ping timeout: 264 seconds]
pastorinni has quit [Remote host closed the connection]
elphe has joined #ruby
mtkd has quit []
redondos has quit [Quit: ZNC - http://znc.in]
pastorinni has joined #ruby
hph^ has quit [Ping timeout: 240 seconds]
pastorinni has quit [Read error: Connection reset by peer]
pastorinni has joined #ruby
pastorinni has quit [Client Quit]
cagomez has quit [Remote host closed the connection]
ramfjord_ has joined #ruby
plujon has joined #ruby
cagomez has joined #ruby
elphe has quit [Ping timeout: 268 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
karapetyan has joined #ruby
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
cagomez has quit [Ping timeout: 240 seconds]
elphe has joined #ruby
karapetyan has quit [Ping timeout: 256 seconds]
jdelStrother has quit [Quit: Connection closed for inactivity]
Creatornator has joined #ruby
Sina has quit [Quit: Connection closed for inactivity]
elphe has quit [Ping timeout: 256 seconds]
biberu has quit []
cagomez has joined #ruby
biberu has joined #ruby
jottr has joined #ruby
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 260 seconds]
ramfjord_ has quit [Ping timeout: 240 seconds]
eckhardt_ has joined #ruby
eckhardt_ has quit [Client Quit]
ramfjord has joined #ruby
eckhardt_ has joined #ruby
sauvin has quit [Remote host closed the connection]
suukim has quit [Quit: Konversation terminated!]
amatas has quit [Quit: amatas]
ramfjord has quit [Ping timeout: 260 seconds]
elphe has joined #ruby
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
sameerynho has joined #ruby
tdy has quit [Ping timeout: 248 seconds]
elphe has quit [Ping timeout: 264 seconds]
BlopMonster has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
tdy has joined #ruby
kliq has quit [Ping timeout: 264 seconds]
ramfjord has joined #ruby
elphe has joined #ruby
BlopMonster has quit [Ping timeout: 240 seconds]
<jrich523> any good blog posts on exploring objects?
\void has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
<jrich523> i came across .inspect and because the object has a lot of data, its mostly worthless
ramfjord has joined #ruby
mtkd has joined #ruby
elphe has quit [Ping timeout: 264 seconds]
segy has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 248 seconds]
jrich523 has quit [Read error: Connection reset by peer]
hays_ has quit [Read error: Connection reset by peer]
jrich523 has joined #ruby
hays has joined #ruby
mzo has joined #ruby
armando has quit [Quit: ZNC 1.8.x-nightly-20180515-4f3ed095 - https://znc.in]
armando has joined #ruby
dendazen has quit [Ping timeout: 276 seconds]
Ethan has quit [Ping timeout: 260 seconds]
kapil___ has joined #ruby
za1b1tsu has joined #ruby
Ethan has joined #ruby
elphe has joined #ruby
<baweaver> jrich523: define exploring
cagomez has quit []
za1b1tsu has quit [Ping timeout: 276 seconds]
BloopMonster has quit [Quit: WeeChat 2.1]
<jrich523> baweaver well, here is what i would do in Powershell, and just looking for something similar to easily browse an object https://gist.github.com/jrich523/263255120c38996de5bce6d2a6bb6e7a
elphe has quit [Ping timeout: 264 seconds]
<havenwood> ?pry jrich523
<ruby[bot]> jrich523: Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
<jrich523> awesome :)
dendazen has joined #ruby
kliq has joined #ruby
ldepandis has joined #ruby
amar_ has quit [Remote host closed the connection]
karapetyan has joined #ruby
desperek has joined #ruby
elphe has joined #ruby
<Eiam> pry++
karapetyan has quit [Ping timeout: 265 seconds]
Mia has quit [Ping timeout: 265 seconds]
<jrich523> that something different?
<jrich523> in looking for it, all i found was, what appears to be an extension to it? (pry-plus via github)
mzo has quit [Ping timeout: 260 seconds]
elphe has quit [Ping timeout: 245 seconds]
<Eiam> no I'm commenting that pry is good
<jrich523> ahh gotcha lol :)
dionysus69 has joined #ruby
nythalcrow has joined #ruby
agent_white has joined #ruby
elphe has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
elphe has quit [Ping timeout: 260 seconds]
nythalcrow has quit [Quit: Leaving]
ramfjord has joined #ruby
mikeric has joined #ruby
reber has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mikeric has quit [Client Quit]
mikeric has joined #ruby
elphe has joined #ruby
clemens3 has quit [Ping timeout: 248 seconds]
ramfjord_ has joined #ruby
jottr has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
elphe has quit [Ping timeout: 255 seconds]
za1b1tsu has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 264 seconds]
pabs has quit [Ping timeout: 260 seconds]
elphe has joined #ruby
cthulchu_ has joined #ruby
Creatornator has joined #ruby
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pabs has joined #ruby
cthulchu has quit [Ping timeout: 245 seconds]
elphe has quit [Ping timeout: 276 seconds]
amar has joined #ruby
za1b1tsu has quit [Quit: WeeChat 2.1]
nicht_ has joined #ruby
karapetyan has joined #ruby
elphe has joined #ruby
conr has joined #ruby
jud has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
psychicist__ has quit [Ping timeout: 276 seconds]
karapetyan has quit [Ping timeout: 260 seconds]
clemens3 has joined #ruby
bipul has quit [Ping timeout: 265 seconds]
Emmanuel_Chanel has quit [Quit: Leaving]
DarkM00ns has joined #ruby
DarkM00ns has quit [Client Quit]
DarkM00ns has joined #ruby
Burgestrand has joined #ruby
bipul has joined #ruby
weaksauce has joined #ruby
dendazen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elphe has joined #ruby
<DarkM00ns> Hello
<elomatreb> welcome
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
amar has quit [Remote host closed the connection]
kliq has quit [Remote host closed the connection]
kliq has joined #ruby
nicht_ has quit [Ping timeout: 260 seconds]
jottr has quit [Ping timeout: 264 seconds]
elphe has joined #ruby
<tycoon177> has anyone here run into issues unzipping a zip file created with rubyzip on a mac? the files are unzipped just fine when using `unzip` from the terminal, but simply double clicking on them to open them with archiveutility fails with "Error 1 - Operation not permitted" (and this is only sometimes)
elphe has quit [Ping timeout: 264 seconds]
edwardly has quit [Max SendQ exceeded]
<tycoon177> I haven't found a common factor with the files themselves, but this has been driving me nuts
synthroid has quit []
<tycoon177> because the fix thusfar has been to have marketing (who uses these zip files) send the files to me where i unzip and rezip the files manually
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
jottr has joined #ruby
ramfjord_ has quit [Ping timeout: 264 seconds]
<elomatreb> "Operation not permitted" sounds like an OS problem, rather than something specific to the zip files tbh
DarkM00ns has quit [Quit: Leaving]
ramfjord has joined #ruby
aeontech has joined #ruby
blackmesa has joined #ruby
<tycoon177> elomatreb: I agree, but I feel like there should be a way for this to be corrected :/ oh well, I'll just continue to deal with it I suppose
jottr has quit [Ping timeout: 265 seconds]
jottr has joined #ruby
uplime is now known as nchambers
ramfjord has quit [Ping timeout: 264 seconds]
sphenxes has quit [Read error: Connection reset by peer]
dendazen has joined #ruby
jcalla has quit [Quit: Leaving]
ramfjord has joined #ruby
kliq has quit [Remote host closed the connection]
kliq has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
zululee has joined #ruby
kliq has quit [Remote host closed the connection]
kliq has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
elphe has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
ramfjord has joined #ruby
blackmesa has quit [Quit: WeeChat 2.1]
Xiti has joined #ruby
Xiti has quit [Max SendQ exceeded]
Xiti has joined #ruby
Xiti has quit [Max SendQ exceeded]
elphe has quit [Ping timeout: 245 seconds]
ramfjord has quit [Ping timeout: 248 seconds]
jottr has quit [Ping timeout: 264 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
<tycoon177> elomatreb: i just got a response in ##mac and it turns out the issue *is* with the OS. OSx uses bsdtar under the hood whereas most linux distros use gnutar
dendazen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
<elomatreb> "operation not permitted" sounds strange for that, but that could easily be it
bbobb has quit [Quit: bbobb]
biberu has quit []
ldnunes has quit [Quit: Leaving]
Xiti has joined #ruby
<tycoon177> I just switched from using the built in archive utility to using "The Unarchiver" and it fixed the issue
darkhanb has joined #ruby
dviola has joined #ruby
segy has joined #ruby
elphe has joined #ruby
ur5us has joined #ruby
elphe has quit [Ping timeout: 256 seconds]
kliq has quit [Ping timeout: 240 seconds]
elphe has joined #ruby
omth has quit [Read error: Connection reset by peer]
omth has joined #ruby
chouhoul_ has joined #ruby
tty has quit [Quit: tty]
elphe has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Ping timeout: 265 seconds]
chouhoul_ has quit [Ping timeout: 264 seconds]
minimalism has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has joined #ruby
pabs has quit [Ping timeout: 240 seconds]
cconstantine has joined #ruby
grilix has quit [Ping timeout: 265 seconds]
<cconstantine> Does anyone know if it’s possible to extract the server_name from an SNI connection in event_machine without terminating the SLL/TLS connection?
devyn has quit [Ping timeout: 264 seconds]
elphe has quit [Ping timeout: 260 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
Emmanuel_Chanel has joined #ruby
Emmanuel_Chanel has quit [Max SendQ exceeded]
elphe has joined #ruby
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Emmanuel_Chanel has joined #ruby
rawburtz has joined #ruby
rawburtz has quit [Remote host closed the connection]
pabs has joined #ruby
wkoszek2 has joined #ruby
kmurphy4_ has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
Mrgoose2 has quit [Quit: ZNC 1.7.x-nightly-20170908-e86efb08 - https://znc.in]
SeepingN has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby
agent_white has quit [Ping timeout: 240 seconds]
Mrgoose2 has joined #ruby
Burgestrand has quit [Quit: Closing time!]
SeepingN has joined #ruby
mtkd has quit []
agent_white has joined #ruby
Cthulu201 has quit [Ping timeout: 256 seconds]
Cthulu201 has joined #ruby
weaksauce has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jordanm has quit [Ping timeout: 240 seconds]
jordanm has joined #ruby
zenspider has quit [Ping timeout: 265 seconds]
zenspider has joined #ruby
schleppel has quit [Quit: Konversation terminated!]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrafanie has quit [Ping timeout: 256 seconds]
elphe has joined #ruby
k0mpa has quit [Remote host closed the connection]
elphe has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
akem_ has joined #ruby
raynold has joined #ruby
akem has quit [Ping timeout: 264 seconds]
KeyJoo has quit [Remote host closed the connection]
plexigras has quit [Ping timeout: 264 seconds]
[Butch] has quit [Ping timeout: 265 seconds]
elphe has joined #ruby
cadillac_ has quit [Ping timeout: 248 seconds]
cadillac_ has joined #ruby
elphe has quit [Ping timeout: 256 seconds]
weaksauce has joined #ruby
omth has quit [Ping timeout: 265 seconds]
weaksauce has quit [Ping timeout: 248 seconds]
dendazen has joined #ruby
cconstantine has quit [Quit: cconstantine]
shinnya has joined #ruby
cconstantine has joined #ruby
dendazen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ciscam has quit [Ping timeout: 264 seconds]
ciscam has joined #ruby
eckhardt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<cthulchu_> guys, what does @ mean?
<cthulchu_> if @selenium_wrapper.browser_safari? || @selenium_wrapper.browser_firefox?
<cthulchu_> looks like it's something like this.
<eam> it means instance variable
<eam> @selenium_wrapper's scope is the instance of self
c0ncealed1 has quit [Remote host closed the connection]
c0ncealed1 has joined #ruby
<cthulchu_> what is an instance?
<cthulchu_> an object?
<eam> yes, an individual instantiation of an object class
<eam> String is a class, x = "" is an instance of a String
<eam> a local variable is just a bare word "x". Maybe you'd create one inside a method, and it exists for the duration of the method call
<eam> an instance variable is prefixed with @, like @x, and it exists for the duration of the object instance
<eam> a class variable is prefixed with @@ and it exists for the duration of the class itself (so, essentially globally)
kay has joined #ruby
kay is now known as Guest95546
akem has joined #ruby
grilix has joined #ruby
akem_ has quit [Ping timeout: 240 seconds]
dreamthese has quit [Remote host closed the connection]
dreamthese has joined #ruby
tvw has joined #ruby
mjolnird has quit [Remote host closed the connection]
mjolnird has joined #ruby
chmuri has quit [Ping timeout: 240 seconds]
wkoszek2 has quit [Ping timeout: 264 seconds]
cconstantine has quit [Quit: cconstantine]
zenspider has quit [Ping timeout: 240 seconds]
Creatornator has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zenspider has joined #ruby
chmurifree has joined #ruby
srruby has joined #ruby
<srruby> Does every language have its own testing software tools? Is rspec used much outside the Ruby community?
<havenwood> srruby: Not every language ships with testing tools. Most have them.
<havenwood> srruby: Ruby ships with Minitest.
<havenwood> srruby: RSpec is Ruby-specific. It's written in Ruby and can't be used in other languages.
tvw has quit []
clemens3_ has quit [Ping timeout: 265 seconds]
TomyLobo has quit [Ping timeout: 256 seconds]
clemens3 has quit [Ping timeout: 268 seconds]
ciscam has quit [Ping timeout: 264 seconds]
sameerynho has quit [Ping timeout: 240 seconds]
ciscam has joined #ruby
griffindy has joined #ruby
nicht_ has joined #ruby
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]