2015-03-30 18:24
dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.5
00:30
petru has left #cinch ["WeeChat 1.2-dev"]
02:05
unknownloner has joined #cinch
02:08
<
unknownloner >
Hey all! I'm having a problem and I feel like this MIGHT be more of a ruby question than a cinch-specific question, but if anyone can help out that'd be awesome
02:10
<
dominikh >
line 10 is on class level, line 22 is on instance level
02:10
<
unknownloner >
ah alright
02:11
<
unknownloner >
what'd be the best way to create a timer at the instance level which doesn't auto-start when it's created?
02:12
<
unknownloner >
just directly use Timer.new ?
02:12
<
dominikh >
you can use Timer.new, you can use the Timer helper, or you can overwrite #initialize
02:12
<
dominikh >
using the Timer helper seems the most sensible
02:13
<
unknownloner >
problem is that calls timer.start automatically
02:13
<
unknownloner >
and I need it to not be started when it's created
02:14
<
dominikh >
a) you can use Timer in a method b) it takes the exact same options as timer
02:14
<
dominikh >
so yous hould know how not to auto-start it
02:15
<
unknownloner >
yeah that's what I thought too until I checked the source code
02:15
<
unknownloner >
but setting :start_automatically to false doesn't actually stop Timer from starting the timer
02:15
<
unknownloner >
it just stops it from re-starting the timer on connect
02:16
<
dominikh >
fair enough. still quite simple to work around
02:16
<
unknownloner >
indeed
02:17
<
unknownloner >
thanks for the help! I figured my problem would be a ruby thing, since I'm still a little fuzzy on ruby and variable scope
02:20
<
dominikh >
no problem
02:40
bosma has joined #cinch
03:09
bosma is now known as bosma1957male
03:20
bosma1957male is now known as bosma
03:27
bosma has left #cinch ["Leaving"]
06:20
Rennex_ has joined #cinch
06:20
jesser has quit [Ping timeout: 252 seconds]
06:20
nickrw has quit [Ping timeout: 252 seconds]
06:20
Rennex has quit [Ping timeout: 252 seconds]
06:20
rikai has quit [Ping timeout: 252 seconds]
06:20
nickrw_ has joined #cinch
06:21
rikai has joined #cinch
06:27
jesser has joined #cinch
06:54
jesser_ has joined #cinch
06:58
jesser has quit [*.net *.split]
06:58
cats has quit [*.net *.split]
06:58
Snowstormer has joined #cinch
06:58
jesser_ is now known as jesser
10:16
sarkyniin has joined #cinch
11:34
Snowstormer is now known as cats
12:02
sarkyniin has quit [Ping timeout: 245 seconds]
13:17
sarkyniin has joined #cinch
14:15
sarkyniin has quit [Ping timeout: 256 seconds]
14:18
Rennex_ is now known as Rennex
14:55
sarkyniin has joined #cinch
15:37
postmodern has quit [Quit: Leaving]
15:45
sarkyniin has left #cinch ["Left"]
16:18
leftylin1 has joined #cinch
16:18
Gizmokid2010 has joined #cinch
16:19
leftylink has quit [Ping timeout: 246 seconds]
16:19
Gizmokid2005 has quit [Ping timeout: 246 seconds]
16:19
Gizmokid2010 is now known as Gizmokid2005
16:22
dominikh has quit [*.net *.split]
16:22
Saloun has quit [*.net *.split]
16:22
Paradox has quit [*.net *.split]
16:22
awkisopen has quit [*.net *.split]
16:22
waxjar has quit [*.net *.split]
16:22
ChasedSpade has quit [*.net *.split]
16:22
CM-Punk has quit [*.net *.split]
16:30
dominikh has joined #cinch
16:31
catepillar1 has joined #cinch
16:31
leftylin1 is now known as leftylink
16:33
catepillar has quit [Ping timeout: 246 seconds]
16:33
v0n has quit [Ping timeout: 246 seconds]
16:36
v0n has joined #cinch
16:46
waxjar has joined #cinch
16:46
awkisopen has joined #cinch
16:46
ChasedSpade has joined #cinch
16:46
Paradox has joined #cinch
16:47
sand420 has joined #cinch
18:13
_whitelogger has joined #cinch
18:20
_whitelogger has joined #cinch
19:23
sarkyniin has joined #cinch
19:38
argoneus is now known as Maruinslun
19:39
Maruinslun is now known as argoneus
20:25
sarkyniin has quit [Ping timeout: 256 seconds]
20:37
Azure has quit [Ping timeout: 250 seconds]
20:38
sarkyniin has joined #cinch
20:42
sarkyniin has quit [Client Quit]
20:47
_djbkd has joined #cinch
21:12
_djbkd has quit [Remote host closed the connection]
23:03
postmodern has joined #cinch
23:03
postmodern has joined #cinch
23:03
postmodern has quit [Changing host]