havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.2, 2.5.5, 2.4.6: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
cruzo66342 has quit [Client Quit]
crankharder has joined #ruby
rafadc has quit [Ping timeout: 245 seconds]
rafadc has joined #ruby
fyber7 has left #ruby ["The Lounge - https://thelounge.chat"]
zachk has quit [Quit: Leaving]
also_uplime has quit [Ping timeout: 250 seconds]
cd has quit [Quit: cd]
eckhardt has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crankharder has quit [Ping timeout: 268 seconds]
ae84 has joined #ruby
dar123 has joined #ruby
nathaniel has joined #ruby
nathaniel is now known as buckworst
buckworst has quit [Client Quit]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crankharder has joined #ruby
buckworst has joined #ruby
dar123 has joined #ruby
neovalis0 has joined #ruby
shtirlic has quit [Quit: ZNC - http://znc.in]
shtirlic has joined #ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gnufied has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
d^sh has quit [Ping timeout: 264 seconds]
d^sh has joined #ruby
_whitelogger has joined #ruby
AJA4350 has quit [Quit: AJA4350]
soloxdead has left #ruby [#ruby]
riceandb1ans is now known as riceandbeans
riceandbeans has quit [Changing host]
riceandbeans has joined #ruby
GodFather has quit [Remote host closed the connection]
mangold has joined #ruby
jordanm has quit [Remote host closed the connection]
jordanm has joined #ruby
dar123 has joined #ruby
barg has joined #ruby
garyserj has quit [Ping timeout: 246 seconds]
buckworst_ has joined #ruby
grilix has quit [Ping timeout: 250 seconds]
_whitelogger has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
mangold has joined #ruby
buckworst_ has quit [Remote host closed the connection]
segy has quit [Quit: ZNC - http://znc.in]
grilix has joined #ruby
braincrash has quit [Quit: bye bye]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
braincrash has joined #ruby
_whitelogger has joined #ruby
segy has joined #ruby
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
segy has quit [Ping timeout: 250 seconds]
_whitelogger has joined #ruby
segy has joined #ruby
Krebsgewehr has joined #ruby
Swyper has quit [Remote host closed the connection]
_whitelogger has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
_whitelogger has joined #ruby
Swyper has joined #ruby
Swyper has quit [Ping timeout: 268 seconds]
tau has quit [Remote host closed the connection]
KeyJoo has joined #ruby
Swyper has joined #ruby
root has joined #ruby
root is now known as Guest29314
<Guest29314> Hi,everybody.
Guest29314 has quit [Client Quit]
Qnurye has joined #ruby
<Qnurye> Anybody here?
<Qnurye> nobody?
<Qnurye> Ummmm...
qnurye1 has joined #ruby
qnurye1 has quit [Client Quit]
Qnurye has quit [Quit: WeeChat 1.9.1]
nick__ has joined #ruby
<nick__> @
banko has joined #ruby
za1b1tsu_ has joined #ruby
rippa has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
segy has quit [Ping timeout: 258 seconds]
segy has joined #ruby
nick__ has quit [Quit: WeeChat 1.9.1]
Qnurye has joined #ruby
<Qnurye> Ummmmm
Qnurye has quit [Client Quit]
houhoulis has quit [Remote host closed the connection]
t0x has joined #ruby
mangold has joined #ruby
Swyper has quit [Remote host closed the connection]
ae84 has quit [Ping timeout: 252 seconds]
cloaked1 has joined #ruby
kapil____ has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
nwradio8 has quit [Ping timeout: 244 seconds]
nwradio8 has joined #ruby
jkugs1 has joined #ruby
suukim has joined #ruby
conta has joined #ruby
reber has joined #ruby
rafadc has quit [Quit: ZNC - https://znc.in]
orbyt_ has joined #ruby
mangold has joined #ruby
rafadc has joined #ruby
orbyt_ has quit [Ping timeout: 264 seconds]
apparition has joined #ruby
jkugs1 has quit [Quit: Leaving]
reber has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
InfinityFye has joined #ruby
jenrzzz has joined #ruby
TomyLobo has joined #ruby
hightower2 has joined #ruby
ricekrispie has joined #ruby
ricekrispie2 has quit [Ping timeout: 250 seconds]
lxsameer has joined #ruby
_whitelogger has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
segy has quit [Quit: ZNC - http://znc.in]
schleppel has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
chrissofer255 has quit [Remote host closed the connection]
segy has joined #ruby
Ai9zO5AP has joined #ruby
conta1 has joined #ruby
conta has quit [Remote host closed the connection]
conta1 is now known as conta
Krebsgewehr has quit [Ping timeout: 264 seconds]
silviu9 has quit [Remote host closed the connection]
silviu has joined #ruby
cloaked1 has quit [Read error: Connection reset by peer]
cloaked2 has joined #ruby
soniya29 has joined #ruby
jenrzzz has joined #ruby
DmitryBochkarev has joined #ruby
hiroaki has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
kyrylo has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has joined #ruby
hiroaki has joined #ruby
clemens3 has joined #ruby
soniya29 has quit [Ping timeout: 250 seconds]
mangold has quit [Quit: This computer has gone to sleep]
conta has quit [Quit: conta]
za1b1tsu_ has quit [Remote host closed the connection]
segy has quit [Quit: ZNC - http://znc.in]
cloaked2 has quit [Quit: Leaving]
cd has joined #ruby
segy has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
Ai9zO5AP has quit [Quit: WeeChat 2.4]
Ai9zO5AP has joined #ruby
beaky has quit [Read error: Connection reset by peer]
InfinityFye has left #ruby ["Leaving"]
sidx64 has joined #ruby
jenrzzz has joined #ruby
Swyper has joined #ruby
jenrzzz has quit [Ping timeout: 259 seconds]
Swyper has quit [Ping timeout: 250 seconds]
KeyJoo has quit [Quit: KeyJoo]
_whitelogger has joined #ruby
sidx64 has quit [Ping timeout: 246 seconds]
sidx64_ has joined #ruby
mikecmpbll has joined #ruby
hightower3 has joined #ruby
hightower2 has quit [Ping timeout: 250 seconds]
mangold has joined #ruby
AJA4350 has joined #ruby
t0x has quit [Quit: Connection closed for inactivity]
Fernando-Basso has joined #ruby
Swyper_ has joined #ruby
DmitryBochkarev has quit [Ping timeout: 268 seconds]
segy has quit [Quit: ZNC - http://znc.in]
Swyper_ has quit [Ping timeout: 240 seconds]
waheedi has joined #ruby
segy has joined #ruby
jxweng has joined #ruby
suukim has quit [Remote host closed the connection]
jxweng has quit [Client Quit]
conta has joined #ruby
waheedi has quit [Ping timeout: 250 seconds]
ae84 has joined #ruby
kyrylo_ has joined #ruby
kyrylo has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
DmitryBochkarev has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
DmitryBochkarev has quit [Ping timeout: 250 seconds]
apparition has quit [Quit: Bye]
Xiti` has quit [Quit: Xiti`]
Xiti has joined #ruby
Swyper has joined #ruby
_whitelogger has joined #ruby
waheedi has joined #ruby
mangold has joined #ruby
mangold has quit [Client Quit]
mangold has joined #ruby
za1b1tsu has joined #ruby
dellavg_ has joined #ruby
also_uplime has joined #ruby
segy has quit [Quit: ZNC - http://znc.in]
uranoss has joined #ruby
tau has joined #ruby
pppktz has joined #ruby
segy has joined #ruby
<pppktz> hey guys,
<pppktz> I am trying to create a simple bot which only sends a specific message to a specific user at a certain time, and I would like to use this method inside the script without cron tabs or using whenever, do you have any idea how to tell the srcipt when that time is passed for example 15:03?
DmitryBochkarev has joined #ruby
tau has quit [Client Quit]
<waheedi> you can sleep until that time and then recall
<waheedi> pppktz: /|\
<waheedi> not you the bot i mean :P
<pppktz> yea, but how my bot knows what the time is? or when to check it?
tdy has joined #ruby
grilix has quit [Read error: Connection reset by peer]
grilix has joined #ruby
DmitryBochkarev has quit [Remote host closed the connection]
DmitryBochkarev has joined #ruby
DmitryBochkarev has quit [Max SendQ exceeded]
DmitryBochkarev has joined #ruby
RiPuk has quit [Ping timeout: 252 seconds]
segy has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
segy has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
fanta7531 has joined #ruby
wildermind has joined #ruby
RiPuk has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
benbot has joined #ruby
benbot has left #ruby [#ruby]
salasrod has quit [Read error: Connection reset by peer]
ae84 has quit [Ping timeout: 250 seconds]
salasrod has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
tau has joined #ruby
xco has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
<xco> can i do this in Ruby if i want both methods to be peformed? https://gist.github.com/xcobar/7d8f2772d806fe8dc166301a33bc411d
<xco> this is one usage of “and” that i think i get right. someone please give thoughts
<waheedi> xco: and will mean && logical and
<waheedi> and it will return true or false, in this case it will return false
<waheedi> as the returns are both nil in two and three
salasrod has quit [Remote host closed the connection]
<xco> right
<waheedi> so what do you want?
<xco> so in this case if i want to peform both methods i can do just this instead https://gist.github.com/xcobar/7d8f2772d806fe8dc166301a33bc411d
<xco> i wanted a one-liner to perform two methods
<waheedi> yes, one liner no need you can still do it two; three
<waheedi> but why :)
<waheedi> two lines is fine
<xco> it’s not a big deal i just want to keep my programs short :D
<waheedi> lol, less is more ;) not any more :P
grilix has quit [Ping timeout: 245 seconds]
Swyper has quit [Remote host closed the connection]
DmitryBochkarev has quit [Ping timeout: 268 seconds]
salasrod has joined #ruby
Swyper has joined #ruby
DmitryBochkarev has joined #ruby
leah2 has quit [Quit: trotz alledem!]
RiPuk has quit [Quit: ZNC 1.7.3 - https://znc.in]
leah2 has joined #ruby
RiPuk has joined #ruby
Fernando-Basso has quit [Remote host closed the connection]
RiPuk has quit [Client Quit]
RiPuk has joined #ruby
agent_white has quit [Remote host closed the connection]
agent_white has joined #ruby
kapil____ has joined #ruby
yield has joined #ruby
yield has quit [Client Quit]
RiPuk has quit [Quit: ZNC 1.7.3 - https://znc.in]
DmitryBochkarev has quit [Ping timeout: 244 seconds]
RiPuk has joined #ruby
DmitryBochkarev has joined #ruby
Swyper has quit [Remote host closed the connection]
yield_ has joined #ruby
yield_ has quit [Read error: Connection reset by peer]
yield_ has joined #ruby
yield_ has quit [Client Quit]
yield_ has joined #ruby
pppktz has quit [Quit: Leaving.]
jkugs has joined #ruby
jenrzzz has joined #ruby
grilix has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
i1nfusion has quit [Remote host closed the connection]
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has joined #ruby
i1nfusion1 has joined #ruby
Swyper has joined #ruby
orbyt_ has joined #ruby
kyrylo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reber has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
yield_ has quit []
mangold has quit [Quit: This computer has gone to sleep]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
DmitryBochkarev has quit [Ping timeout: 268 seconds]
kyrylo has joined #ruby
nowhereman has quit [Ping timeout: 258 seconds]
hiroaki has quit [Ping timeout: 240 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
sagax has quit [Read error: No route to host]
wildermind has quit [Quit: Connection closed for inactivity]
hiroaki has joined #ruby
jkugs1 has joined #ruby
jkugs has quit [Ping timeout: 250 seconds]
xco has quit [Quit: xco]
tau has quit [Ping timeout: 268 seconds]
_joes_ has joined #ruby
BH23 has joined #ruby
sidx64_ has quit [Ping timeout: 264 seconds]
waheedi has quit [Quit: waheedi]
duderonomy has joined #ruby
conta has quit [Quit: conta]
Lyubo1 has quit [Ping timeout: 245 seconds]
Lyubo1 has joined #ruby
_joes_ has quit [Ping timeout: 250 seconds]
BH23 has quit [Ping timeout: 246 seconds]
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
sagax has joined #ruby
ricekrispie2 has joined #ruby
i1nfusion has joined #ruby
i1nfusion1 has joined #ruby
ricekrispie has quit [Ping timeout: 250 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
c0dec has quit [Ping timeout: 245 seconds]
Swyper has quit [Remote host closed the connection]
c0dec has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
Dbugger has joined #ruby
jkugs1 is now known as jkugs
klaas has quit [Quit: ZNC 1.7.2 - https://znc.in]
klaas has joined #ruby
c0dec has quit [Ping timeout: 250 seconds]
jottr has quit [Ping timeout: 250 seconds]
c0dec has joined #ruby
Swyper has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Swyper has quit [Remote host closed the connection]
_joes_ has joined #ruby
BH23 has joined #ruby
fanta7531 has quit [Quit: fanta7531]
Swyper has joined #ruby
themsay has joined #ruby
Swyper has quit [Remote host closed the connection]
dviola has joined #ruby
<havenwood> xco: module Kernel; def alias_chain new_method, *alias_methods; define_method(new_method) { *head, tail = alias_methods; head.each { |meth| public_send meth }; public_send tail } end end
i1nfusion has quit [Remote host closed the connection]
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has joined #ruby
i1nfusion1 has joined #ruby
m27frogy has quit [Quit: ZNC - https://znc.in]
Swyper has joined #ruby
someuser has joined #ruby
jottr has joined #ruby
_joes_ has quit [Ping timeout: 268 seconds]
BH23 has quit [Ping timeout: 250 seconds]
jottr has quit [Ping timeout: 245 seconds]
neovalis0 has quit [Ping timeout: 258 seconds]
dviola has quit [Quit: WeeChat 2.4]
dar123 has joined #ruby
dellavg_ has quit [Ping timeout: 250 seconds]
Dbugger has quit [Ping timeout: 250 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
tau has joined #ruby
jottr has joined #ruby
Swyper has quit [Remote host closed the connection]
ur5us has joined #ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
RiPuk has quit [Quit: ZNC 1.7.3 - https://znc.in]
RiPuk has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
orbyt_ has joined #ruby
hightower3 has quit [Changing host]
hightower3 has joined #ruby
ricekrispie has joined #ruby
ricekrispie2 has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
agent_white has quit [Quit: later]
jottr has quit [Ping timeout: 246 seconds]
grilix has quit [Quit: Ooops]
thejamespinto has joined #ruby
Ai9zO5AP has quit [Quit: WeeChat 2.4]
moei has quit [Read error: Connection reset by peer]
facest has joined #ruby
moei has joined #ruby
reber has quit [Read error: Connection reset by peer]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
faces has quit [Ping timeout: 246 seconds]
nowhereman has joined #ruby
clemens3 has quit [Ping timeout: 245 seconds]
RiPuk has quit [Quit: ZNC 1.7.3 - https://znc.in]
clemens3 has joined #ruby
RiPuk has joined #ruby
jottr has joined #ruby
m27frogy has joined #ruby
i1nfusion1 has quit [Remote host closed the connection]
hightower2 has joined #ruby
RiPuk has quit [Client Quit]
RiPuk has joined #ruby
hightower3 has quit [Ping timeout: 264 seconds]
jottr has quit [Ping timeout: 245 seconds]
houhoulis has joined #ruby
also_uplime has quit [Ping timeout: 264 seconds]
hightower3 has joined #ruby
hightower2 has quit [Ping timeout: 250 seconds]
tau is now known as ze-fofim
schleppel has quit [Quit: Konversation terminated!]
hightower2 has joined #ruby
hightower3 has quit [Ping timeout: 245 seconds]
i1nfusion1 has joined #ruby
hightower2 has quit [Ping timeout: 245 seconds]
hightower3 has joined #ruby
orbyt_ has joined #ruby
rindolf has joined #ruby
<rindolf> hi all
moei has quit [Quit: Leaving...]
nwradio87 has joined #ruby
nwradio8 has quit [Ping timeout: 245 seconds]
TomyLobo has quit [Read error: Connection reset by peer]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jkugs_ has joined #ruby
jkugs has quit [Ping timeout: 264 seconds]
brool has joined #ruby
lxsameer has quit [Ping timeout: 264 seconds]
t0x has joined #ruby
segy has quit [Ping timeout: 250 seconds]
segy has joined #ruby
Leopere has joined #ruby
segy has quit [Ping timeout: 240 seconds]
howlcode has joined #ruby
brool has quit [Ping timeout: 259 seconds]
howlcode has quit [Remote host closed the connection]
nowhereman has quit [Ping timeout: 264 seconds]
segy has joined #ruby