coderphive has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
ledestin has joined #ruby
yqt has quit [Ping timeout: 255 seconds]
latemus has joined #ruby
mg has joined #ruby
Immune has quit [Quit: ZzzZZZzzzz]
Verity has quit [Remote host closed the connection]
modlin has quit [Ping timeout: 255 seconds]
Verity has joined #ruby
patarr has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
modlin has joined #ruby
leitz has quit [Quit: Nappy time]
latemus has quit [Quit: leaving]
cfec0b8d has quit [Remote host closed the connection]
patarr has quit [Ping timeout: 240 seconds]
mg has quit [Ping timeout: 240 seconds]
Lucky_ABA has joined #ruby
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 268 seconds]
bernd27 has joined #ruby
jackrandom has quit [Ping timeout: 240 seconds]
mg has joined #ruby
merchang has joined #ruby
Guest96 has quit [Remote host closed the connection]
lagweezle is now known as lagweezle_away
Yxhvd has quit [Remote host closed the connection]
Guest96 has joined #ruby
spheric has joined #ruby
jhack has joined #ruby
Azure has joined #ruby
Yxhuvud has joined #ruby
_sfiguser has quit [Quit: Leaving]
gothicsouth has joined #ruby
<gothicsouth>
I'm trying to colorize irb and improve readability with the irbtools gem. I'm having trouble with it though on my FreeBSD 11.0 system, in multiple versions of ruby. Everything installs ok, but once I require 'irbtools', it's as if irb is broken: I get no feedback, regardless what I input. Just a new line. Any ideas?
Blaze_Boy has joined #ruby
nankyokusei has joined #ruby
perniciouscaffei has joined #ruby
__Yiota has joined #ruby
blackwind_123 has quit [Ping timeout: 240 seconds]
esObe_ has joined #ruby
volty has quit [Quit: Konversation terminated!]
nankyokusei has quit [Ping timeout: 260 seconds]
coderphive has joined #ruby
t-recx has quit [Quit: t-recx]
esObe_ has quit [Ping timeout: 264 seconds]
Channel6 has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 260 seconds]
merchang has quit [Quit: Page closed]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
d^sh has quit [Ping timeout: 258 seconds]
jhack has quit [Quit: Leaving]
d^sh has joined #ruby
mim1k has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LastWhisper____ has quit [Read error: Connection reset by peer]
__Yiota has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
perniciouscaffei has joined #ruby
Blaze_Boy has quit [Quit: Blaze_Boy]
Guest96 has quit [Remote host closed the connection]
esObe_ has joined #ruby
Guest96 has joined #ruby
esObe_ has quit [Ping timeout: 255 seconds]
mordof has joined #ruby
cschneid_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
guardianJ has joined #ruby
roamingdog has joined #ruby
modlin has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
<mordof>
trying to launch a process completely independent of ruby.. i've tried both system, and `` - both launch a subprocess i guess? when i try to run these from irb, my ctrl+c still gets sent to the child process
<mordof>
my command: system "cat fifo_file | #{factorio_exec_path} --start-server save_file > log_output 2>&1 & echo $! > server_pid"
<mordof>
is there a way to fully detach everything?
cschneid_ has quit [Ping timeout: 264 seconds]
zacts has quit [Quit: WeeChat 1.7.1]
jackjackdripper1 has quit [Quit: Leaving.]
zacts has joined #ruby
<mordof>
or any tips on how to change a child-process into a stand-alone process so they're not dependent anymore?
<mordof>
i'd like the parent process to be able to be shutdown while the child one stays running
roamingdog has quit [Remote host closed the connection]
randomgu_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 240 seconds]
bairyn has quit [Remote host closed the connection]
modlin has joined #ruby
SeepingN has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nertzy has quit [Ping timeout: 260 seconds]
__Yiota has joined #ruby
modlin has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
__Yiota has quit [Client Quit]
ejnahc_ has quit [Remote host closed the connection]
ejnahc has joined #ruby
jcao219 has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
libastral has quit [Ping timeout: 268 seconds]
libastral has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
patarr has joined #ruby
tristanp has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
esObe_ has joined #ruby
tristanp has quit [Ping timeout: 240 seconds]
esObe_ has quit [Ping timeout: 268 seconds]
apparition has joined #ruby
roamingdog has joined #ruby
coderphive has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
comet23 has joined #ruby
alamar has quit [Ping timeout: 260 seconds]
modlin has joined #ruby
j has joined #ruby
j is now known as Guest23766
jcao219 has joined #ruby
nankyokusei has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
jameser has joined #ruby
exchgr has quit [Read error: Connection reset by peer]
wigner has joined #ruby
Pumukel has joined #ruby
exchgr has joined #ruby
modlin has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
mim1k has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 258 seconds]
JeanCarloMachado has joined #ruby
esObe_ has joined #ruby
coderphive has joined #ruby
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
esObe_ has quit [Ping timeout: 240 seconds]
fmcgeough has joined #ruby
guardianJ has quit [Remote host closed the connection]
guardianJ has joined #ruby
enterprisey has quit [Read error: Connection reset by peer]
enterprisey has joined #ruby
DeeJayh-L has quit [Ping timeout: 258 seconds]
_whitelogger has joined #ruby
jcao219 has quit [Ping timeout: 240 seconds]
claw has quit [Ping timeout: 240 seconds]
wigner has quit [Quit: wigner]
hutch34 has joined #ruby
jcao219 has joined #ruby
JeanCarloMachado has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claw has joined #ruby
jameser has joined #ruby
guardianJ has quit [Remote host closed the connection]
jameser has quit [Client Quit]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
JeanCarloMachado has joined #ruby
milardovich has quit [Remote host closed the connection]
gix has quit [Ping timeout: 240 seconds]
roamingdog has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
gix has joined #ruby
__Yiota has joined #ruby
Pumukel has joined #ruby
bkxd has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
jameser has joined #ruby
jameser has quit [Client Quit]
postmodern has joined #ruby
esObe_ has joined #ruby
Guest27171 has joined #ruby
Capable98 has joined #ruby
esObe_ has quit [Ping timeout: 240 seconds]
<Capable98>
Can this damage the monitor?/
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
__Yiota has joined #ruby
<Capable98>
"6) I unplugged from the BenQ for the evening. I run linux, and I’ve been using xrandr to bump up the refresh rate on the Latitude, and 200Hz feels much, **much** better on my eyes than 60Hz (yes, the Windows install hurts my eyes just as much or more, since I’ve made several adjustments to fonts and font smoothing on this partition)."
<Capable98>
200Hz feels much, **much** better to him, so it makes me curious if I'd benefit from that as well.
jcao219 has quit [Ping timeout: 240 seconds]
Guest96 has quit [Remote host closed the connection]
Guest96 has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
<baweaver>
Not sure how much reply you'll get on the #ruby channel for that Capable98. Y'might check a Linux one.
duderonomy has quit [Ping timeout: 255 seconds]
nofxx has joined #ruby
__Yiota has joined #ruby
<Capable98>
What's Ruby?
<Capable98>
I joined here automatically.
<mg>
Ruby is an awesome programming language. Since you're already here you might want to learn it ;)
Guest96 has quit [Remote host closed the connection]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 240 seconds]
Guest96 has joined #ruby
spheric has quit [Ping timeout: 240 seconds]
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jcao219 has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest96 has quit [Remote host closed the connection]
apparition has quit [Changing host]
apparition has joined #ruby
comet23 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
arup_r has joined #ruby
Guest96 has joined #ruby
<arup_r>
say, we have 2 arrays like a = [1,4,5,6] and b = [2, 1, 3, 6]. Now, I want to know which items of a not matching with array b, and return the index. I solved like a.each_with_index.map { |e, i| i if e != b[i] # => [0, 1, 2, nil] . Question is is there any better approach. My actual array will have always size 10, here i kept the size small for simplicity
Guest96 has quit [Remote host closed the connection]
Lucky_ABA has joined #ruby
Guest96 has joined #ruby
cfec0b8d has joined #ruby
bairyn has joined #ruby
arup_r has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
KeyJoo has joined #ruby
_whitelogger has joined #ruby
jamesaxl has joined #ruby
tildes has joined #ruby
Ishido has joined #ruby
<mg>
@arup_r you can substract b from a like so: a - b, and then collect their indexes
cschneid_ has joined #ruby
Capable98 has quit [Quit: Leaving]
cschneid_ has quit [Ping timeout: 260 seconds]
<mg>
to be honest i can't think of a much better way, since you need the index so you need all elements to be in the original array when you gather the information
<mg>
anyone?
leah2 has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
Sembei has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
leah2 has joined #ruby
xall_ has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 240 seconds]
vuoto has joined #ruby
conta has joined #ruby
xall has joined #ruby
xall has quit [Client Quit]
xall_ has quit [Ping timeout: 240 seconds]
esObe_ has joined #ruby
antib has joined #ruby
esObe_ has quit [Ping timeout: 240 seconds]
djbkd_ has joined #ruby
kies^ has joined #ruby
tildes has quit [Ping timeout: 260 seconds]
mordof has quit [Ping timeout: 240 seconds]
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mordof has joined #ruby
apparition has joined #ruby
apparition has quit [Client Quit]
apparition has joined #ruby
apparition has quit [Client Quit]
apparition has joined #ruby
apparition has quit [Client Quit]
apparition has joined #ruby
apparition has quit [Client Quit]
apparition has joined #ruby
apparition has quit [Client Quit]
skweek has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
nobodyzxc has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
mg has quit [Read error: Connection reset by peer]
conta has quit [Quit: conta]
dionysus69 has joined #ruby
coderphive has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
coderphive has joined #ruby
hutch34 has joined #ruby
Pumukel has joined #ruby
jgnagy has quit [Remote host closed the connection]
djbkd_ has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 260 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
vuoto has quit [Remote host closed the connection]
enterprisey has quit [Quit: Leaving]
patarr has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
nofxxx has joined #ruby
rippa has joined #ruby
nofxx has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ruby
nofxxx has quit [Ping timeout: 240 seconds]
Guest78044 is now known as silverdust
silverdust has quit [Changing host]
silverdust has joined #ruby
Ishido has quit [Ping timeout: 268 seconds]
Ishido has joined #ruby
toretore has joined #ruby
ddffg has joined #ruby
_main_ has joined #ruby
_main_ has quit [Read error: Connection reset by peer]
__main__ has quit [Read error: Connection reset by peer]
<hanmac>
haha Intel has a very funny bug xD ... find the error: "memcmp(attacker_password, correct_password, strlen(attacker_password))"
VladGh_ has joined #ruby
__main__ has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
VladGh has quit [Ping timeout: 240 seconds]
__main__ has joined #ruby
User458764 has joined #ruby
Pumukel has joined #ruby
johnny56_ has joined #ruby
johnny56 has quit [Ping timeout: 264 seconds]
djbkd_ has joined #ruby
BaroMeter has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 240 seconds]
coderphive has quit [Quit: coderphive]
djbkd_ has quit [Ping timeout: 260 seconds]
cfec0b8d has quit [Ping timeout: 240 seconds]
Guest96 has quit [Remote host closed the connection]
xenops has joined #ruby
lxsameer has joined #ruby
Guest96 has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
rgr_ has joined #ruby
dionysus69 has joined #ruby
coderphive has joined #ruby
Guest23766 is now known as julian
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
esObe_ has joined #ruby
bkxd has quit [Read error: Connection reset by peer]
nankyokusei has joined #ruby
minimalism has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
ltem has joined #ruby
Dimik has quit [Ping timeout: 264 seconds]
marr has joined #ruby
coderphive has quit [Quit: coderphive]
<zenspider>
seems like a poorly defined problem to me, esp w/ only 10 elements
<zenspider>
>> a = [1,4,5,6]; b = [2,1,3,6]; a.zip(b).map.with_index { |(n, m), i| i if n != m }.compact
Guest96 has quit [Remote host closed the connection]
Guest96 has joined #ruby
t-recx has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
apparition has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
patarr has joined #ruby
modlin has joined #ruby
tildes has quit [Ping timeout: 258 seconds]
patarr has quit [Ping timeout: 245 seconds]
treaki has joined #ruby
oleo has quit [Quit: irc client terminated!]
charliesome has joined #ruby
ych14_ has joined #ruby
nowhereman has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yogg-saron has joined #ruby
somerandomteen has joined #ruby
<somerandomteen>
Hi all, having issues w/ a Devise-based registration system. I've added an invite code in to the form, which has a model of it's own. How do I get the form, which is a standard form for the User resource, to send that part of the form to the Invite model?
<somerandomteen>
More accurately, what I want to do is a) validate the invite code that was entered, and b) set it as used. It doesn't matter which model it's done in. I can't do it through the Users model, it would seem, though, because I get the error "NoMethodError (undefined method `marked_for_destruction?' for "invitecode":String):.
modlin has quit [Read error: Connection reset by peer]
rgr has joined #ruby
nowhereman has quit [Ping timeout: 255 seconds]
Guest96 has quit [Remote host closed the connection]
Guest96 has joined #ruby
unshadow has joined #ruby
ledestin has joined #ruby
tildes has joined #ruby
PatrikasZvaigzde has quit [Ping timeout: 240 seconds]
thebigj has joined #ruby
MrBusiness has quit [Read error: Connection reset by peer]
tildes has quit [Ping timeout: 240 seconds]
ledestin has quit [Ping timeout: 240 seconds]
yogg-saron has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gizmore has joined #ruby
PatrikasZvaigzde has joined #ruby
<thebigj>
I am not ruby programmer. I am having blog and trying to configure with `travis`. This is my branch please find `.travis.yml` and other ruby files there. Here is error log I am getting at travis CI
Guest96_ has quit [Remote host closed the connection]
Guest96 has joined #ruby
sepp2k has quit [Ping timeout: 260 seconds]
Mon_Ouie has quit [Quit: WeeChat 1.7.1]
sepp2k has joined #ruby
jackrandom has quit [Ping timeout: 240 seconds]
Vile` has joined #ruby
jackrandom has joined #ruby
mjolnird has joined #ruby
mjolnird has quit [Client Quit]
<spiette>
i'm trying to use rspec-mocks to mock Redis. In the code I test, parameters are given to Redis.new. How can I mock the new method? I'm using an instance_double.
pankaj has joined #ruby
jdeen has joined #ruby
tildes has joined #ruby
tildes has quit [Remote host closed the connection]
<jdeen>
Hi... i would like some help with a regex issue... assume a string like `abc+pqr@example.com` (email with a tag)... i would like to get the email abc@example.com (delete from + to @)... what is a regex i can use for it... thanks in advance
[ohjn] has quit [Read error: Connection reset by peer]
[ohjn] has joined #ruby
chouhoulis has quit [Remote host closed the connection]
bairyn is now known as ByronJohnson
<jdeen>
Thanks...a after playing with rubylar i think i found it ... some thing in the line of s.gsub /(\+[^@]+)/, '' seems to work
rkazak has joined #ruby
Vile` has quit [Remote host closed the connection]
coderphive has quit [Quit: coderphive]
<chrisseaton>
Does Spec provide some convenient way to run Ruby sub-processes and examine the output?
sonOfRa has quit [Remote host closed the connection]
houhoulis has joined #ruby
bernd27 has joined #ruby
sonOfRa has joined #ruby
<chrisseaton>
spiette: thanks, but again that's the opposite of what I want - the pretends to launch a new process but doesn't. I want to run a new process because I want to test interactions with the process.
<chrisseaton>
spiette: I'll just use system and RbConfig.ruby directly
jackrandom has quit [Ping timeout: 240 seconds]
archer121 has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
<archer121>
hi, i am not a ruby developer, and when I am trying to install a package, i get a rake error: http://paste.debian.net/931201/ I read that I am to check the permissions of the folder in the error, but the folder doesnot exist on my system. Can someone help me with fixing this?
pankaj has quit [Quit: Leaving]
hutch34 has quit [Ping timeout: 264 seconds]
pankaj has joined #ruby
nankyokusei has joined #ruby
pankaj has quit [Quit: Leaving]
tristanp has joined #ruby
User458764 has joined #ruby
User458764 has quit [Max SendQ exceeded]
nankyokusei has quit [Ping timeout: 260 seconds]
User458764 has joined #ruby
esObe_ has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
MrBusiness has joined #ruby
hays has quit [Ping timeout: 240 seconds]
Emmanuel_Chanel has quit [Ping timeout: 264 seconds]
ben__ has joined #ruby
govg has quit [Ping timeout: 260 seconds]
sspreitz has quit [Ping timeout: 240 seconds]
romank has joined #ruby
sspreitz has joined #ruby
blackmesa has joined #ruby
nanoz has quit [Quit: <3]
milardovich has joined #ruby
DeeJayh-L has quit [Ping timeout: 255 seconds]
mfaeh has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
DeeJayh-L has joined #ruby
cisco has joined #ruby
cisco has quit [Max SendQ exceeded]
cisco has joined #ruby
cisco has quit [Max SendQ exceeded]
drcode has quit [Ping timeout: 240 seconds]
cisco has joined #ruby
cisco has quit [Max SendQ exceeded]
roamingdog has joined #ruby
cisco has joined #ruby
cisco has quit [Max SendQ exceeded]
cisco has joined #ruby
cisco has quit [Max SendQ exceeded]
cisco has joined #ruby
cisco has quit [Max SendQ exceeded]
drcode has joined #ruby
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shinzah has joined #ruby
Emmanuel_Chanel has joined #ruby
User458764 has joined #ruby
romank has quit [Read error: Connection reset by peer]
DLSteve has joined #ruby
tomphp has joined #ruby
romank has joined #ruby
sepp2k has quit [Quit: Leaving.]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
milardovich has quit [Remote host closed the connection]
ddffg has quit [Ping timeout: 255 seconds]
roamingdog has quit [Remote host closed the connection]
milardovich has joined #ruby
roamingdog has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
Dimik has joined #ruby
blackmesa has joined #ruby
bernd9000 has joined #ruby
bernd27 has quit [Ping timeout: 240 seconds]
bernd9000 has quit [Read error: Connection reset by peer]
jackrandom has joined #ruby
mfaeh has quit [Remote host closed the connection]
ddffg has joined #ruby
romank has quit [Read error: Connection reset by peer]
Channel6 has left #ruby ["Leaving"]
Douko has joined #ruby
DeeJayh-L has quit [Ping timeout: 260 seconds]
romank has joined #ruby
rgr has quit [Quit: rgr]
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
Pumukel has joined #ruby
shinzah has quit [Remote host closed the connection]
govg has joined #ruby
DeeJayh-L has joined #ruby
ByronJohnson has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 255 seconds]
Lucky_ABA has joined #ruby
romank has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Blobson has joined #ruby
bairyn has joined #ruby
<Blobson>
hello, im trying to write a script that runs a terminal process and captures all the stdout data as it flows in and then analyzes it in real time. not waiting for it to exit
milardovich has quit [Remote host closed the connection]
User458764 has joined #ruby
Lucky_ABA has quit [Read error: Connection reset by peer]
<elarson>
I have class that instantiates some other classes and assigns them to variables on the instance. I'd like to mock a return value from one of the instance variables in rspec. here is an example of what I mean in regards to the different classes https://gist.github.com/ionrock/89a0626a13c6a9d107a0c9f8030fe30c
houhoulis has quit [Remote host closed the connection]
houhoulis has joined #ruby
<ljarvis>
elarson: instance_variable_set?
yzra has quit [Quit: yzra]
tristanp has joined #ruby
byte512 has quit [Ping timeout: 255 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
houhoulis has quit [Ping timeout: 258 seconds]
northfurr has joined #ruby
tristanp has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
<elarson>
ljarvis: so what I was able to do was make a getter and then just mocked the getter instead
modlin has joined #ruby
<elarson>
I'm now trying to figure out how to call the function that gets test and assert the result as well as some stdout that is printed
JoshS has quit [Ping timeout: 240 seconds]
yzra has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lagweezle is now known as lagweezle_away
loechel has joined #ruby
__Yiota has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
ltem has quit [Quit: Leaving]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
skade_ has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
loechel has quit [Ping timeout: 245 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
antgel has joined #ruby
enterprisey has quit [Ping timeout: 255 seconds]
jcao219 has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DeeJayh-L has joined #ruby
TomyLobo has quit [Ping timeout: 264 seconds]
AlexRussia has quit [Quit: WeeChat 1.7]
modlin has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
cpruitt has joined #ruby
roamingdog has joined #ruby
porfa has joined #ruby
<porfa>
oiooo
modlin has joined #ruby
cpruitt has quit [Read error: Connection reset by peer]
cpruitt has joined #ruby
xenops has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhereman has joined #ruby
xenops has joined #ruby
cpruitt has quit [Read error: Connection reset by peer]
xenops has quit [Client Quit]
xenops has joined #ruby
xenops has quit [Client Quit]
cpruitt has joined #ruby
xenops has joined #ruby
xenops has quit [Client Quit]
xenops has joined #ruby
xenops has quit [Client Quit]
xenops has joined #ruby
xenops has quit [Client Quit]
enterprisey has joined #ruby
FastJack_ has joined #ruby
FastJack has quit [Read error: Connection reset by peer]
FastJack_ is now known as FastJack
northfurr has quit [Quit: northfurr]
AlexRussia has joined #ruby
northfurr has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
jusa has joined #ruby
newrubycoder has joined #ruby
loechel has joined #ruby
<newrubycoder>
hey guys anyone knows how i can get ruby to press a key for me?
kies^ has joined #ruby
<newrubycoder>
press space if x == y something like that
bsartek has joined #ruby
jusa has quit [Ping timeout: 240 seconds]
Pumukel has quit [Quit: ChatZilla 0.9.93 [Firefox 53.0.2/20170504105526]]
loechel has quit [Remote host closed the connection]
jamesaxl has quit [Quit: WeeChat 1.7.1]
Ishido has quit [Remote host closed the connection]