jhass[m] changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.2, 3.0.4, 2.7.6: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
emcb543 has joined #ruby
emcb54 has quit [Ping timeout: 256 seconds]
emcb543 is now known as emcb54
jpn has joined #ruby
roadie has joined #ruby
jpn has quit [Ping timeout: 248 seconds]
roadie has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 250 seconds]
roadie has joined #ruby
gr33n7007h has quit [Ping timeout: 246 seconds]
roadie has quit [Ping timeout: 260 seconds]
gr33n7007h has joined #ruby
work has quit [Quit: Connection closed for inactivity]
roadie has joined #ruby
darkstardevx has joined #ruby
roadie has quit [Ping timeout: 248 seconds]
emcb545 has joined #ruby
emcb54 has quit [Ping timeout: 250 seconds]
emcb545 is now known as emcb54
proportions has quit [Quit: Tcl has many different data types, not just strings.]
ur5us has joined #ruby
roadie has joined #ruby
jpn has joined #ruby
jpn has quit [Ping timeout: 240 seconds]
roadie has quit [Ping timeout: 260 seconds]
nirvdrum has joined #ruby
r3m has joined #ruby
nirvdrum_ has joined #ruby
nirvdrum has quit [Ping timeout: 240 seconds]
nirvdrum_ has quit [Client Quit]
nirvdrum has joined #ruby
o|||||o has quit [Ping timeout: 256 seconds]
Rounin has quit [Ping timeout: 250 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
crankharder has joined #ruby
jhass has quit [Ping timeout: 248 seconds]
crankharder has quit [Ping timeout: 256 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 248 seconds]
roadie has joined #ruby
crankharder has joined #ruby
roadie has quit [Ping timeout: 248 seconds]
work has joined #ruby
crankharder has quit [Ping timeout: 248 seconds]
jhass has joined #ruby
jpn has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.5]
jpn has quit [Ping timeout: 240 seconds]
jhass has quit [Ping timeout: 260 seconds]
jhass has joined #ruby
gr33n7007h has joined #ruby
fef has joined #ruby
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roadie has joined #ruby
roadie has quit [Ping timeout: 260 seconds]
roadie has joined #ruby
jpn has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
jpn has quit [Ping timeout: 246 seconds]
sunqiuqi has joined #ruby
idiocrash has joined #ruby
finsternis has quit [Ping timeout: 256 seconds]
finsternis has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
roadie has quit [Ping timeout: 248 seconds]
nirvdrum has joined #ruby
roadie has joined #ruby
nirvdrum has quit [Ping timeout: 240 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 256 seconds]
q3lont has joined #ruby
nirvdrum has joined #ruby
sunqiuqi has left #ruby [Closing Window]
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
oxfuxxx has joined #ruby
fef has quit [Quit: Leaving]
q3lont has quit [Quit: Leaving]
oxfuxxx has quit [Ping timeout: 256 seconds]
oxfuxxx has joined #ruby
oxfuxxx has quit [Client Quit]
oxfuxxx has joined #ruby
___nick___ has joined #ruby
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
jpn has joined #ruby
work has quit [Quit: Connection closed for inactivity]
totoro has joined #ruby
gr33n7007h has quit [Ping timeout: 250 seconds]
dionysus69 has quit [Ping timeout: 250 seconds]
dionysus69 has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
dionysus70 is now known as dionysus69
jpn has quit [Ping timeout: 256 seconds]
impermanence has quit [Ping timeout: 256 seconds]
yossarian has quit [Ping timeout: 240 seconds]
taupiqueur has joined #ruby
yossarian has joined #ruby
yossarian has joined #ruby
yossarian has quit [Changing host]
gr33n7007h has joined #ruby
ur5us has joined #ruby
_ht has joined #ruby
u0_a147 has joined #ruby
u0_a147 has quit [Client Quit]
u0_a147 has joined #ruby
u0_a147 has quit [Client Quit]
u0_a147 has joined #ruby
u0_a147 has quit [Client Quit]
u0_a147 has joined #ruby
u0_a147 has quit [Client Quit]
<ox1eef> it was bugging me how rubydoc.info (or yard) renders a README without a max width - on a huge screen paragraphs could be a line long. at first i added a <style> into the readme, and it worked; but not on GitHub, where it was shown in all its ugliness. that led me to custom yard templates - an interesting API to say the least, and through it i could add my own stylesheet to the default template.
<ox1eef> problem solved :)
taupiqueur has quit [Ping timeout: 250 seconds]
jpn has joined #ruby
<ox1eef> problem solved locally* - rubydoc.info does not appear to support custom templates.
jpn has quit [Ping timeout: 246 seconds]
o|||||o has joined #ruby
taupiqueur has joined #ruby
mixfix41 has joined #ruby
oxfuxxx has quit [Ping timeout: 248 seconds]
roadie has joined #ruby
oxfuxxx has joined #ruby
protektwar has joined #ruby
ferr_ has quit [Ping timeout: 248 seconds]
perrierjouet has quit [Ping timeout: 250 seconds]
perrierjouet has joined #ruby
jpn has joined #ruby
jpn has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 250 seconds]
hololeap has quit [Remote host closed the connection]
<ox1eef> found a solution... gonna host the docs on github.io
hololeap has joined #ruby
smp has quit [Quit: ZNC 1.8.2 - https://znc.in]
smp has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fef has joined #ruby
Rounin has joined #ruby
oxfuxxx has quit [Ping timeout: 246 seconds]
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 250 seconds]
taupiqueur has quit [Quit: taupiqueur]
fef has quit [Quit: Leaving]
taupiqueur has joined #ruby
crankharder has joined #ruby
<adam12> ox1eef: What's the syntax for custom template?
<adam12> Can you set it in .yardopts?
<adam12> I don't support them on gemdocs.org either, intentionally, since I thought having consistent documentation would be a nice feature.
some14u has joined #ruby
some14u has quit [Client Quit]
<adam12> I have plans to improve the default theme, but I think I'm going to strategize on how to switch to RDoc when I do that. I'd like to maintain feature parity somehow tho.
some14u has joined #ruby
some14u has quit [Client Quit]
some14u has joined #ruby
some14u has quit [Client Quit]
some14u has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest77 has joined #ruby
Guest77 has quit [Client Quit]
crankharder has quit [Ping timeout: 256 seconds]
some14u has joined #ruby
<ox1eef> adam12: the template system is pretty interesting - this is what I used as a guide: https://gnuu.org/2009/11/18/customizing-yard-templates/
<ox1eef> it can be used in .yardopts, with a combination of two options: -t <template_name> -p <path/to/template_name/parent>
<ox1eef> thats a bit funky, but basically you should have template_dir/<template name>
<ox1eef> in my case <template name> is default, since i was modifying the default template
nirvdrum has joined #ruby
crankharder has joined #ruby
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nirvdrum has joined #ruby
nirvdrum has quit [Client Quit]
crankharder has quit [Ping timeout: 256 seconds]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
some14u has joined #ruby
favadi has joined #ruby
nirvdrum has joined #ruby
ssh0738 has joined #ruby
ssh073 has quit [Ping timeout: 240 seconds]
ssh0738 is now known as ssh073
nirvdrum has quit [Client Quit]
sgt_chuckles has joined #ruby
nirvdrum has joined #ruby
nirvdrum has quit [Client Quit]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sgt_chuckles> what's a regex pattern for a string such as this one: AT.MOpsq-YzgWdI1DLr7lQJKm_RacV3Yv13F1eZA39xty4
<favadi> I think 'AT\.MOpsq\-YzgWdI1DLr7lQJKm_RacV3Yv13F1eZA39xty4' should work :)
nirvdrum has joined #ruby
<sgt_chuckles> thanks
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
favadi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
favadi has joined #ruby
nirvdrum has joined #ruby
nirvdrum has quit [Client Quit]
Vonter has quit [Quit: WeeChat 3.5]
Vonter has joined #ruby
Vonter has quit [Quit: WeeChat 3.5]
Vonter has joined #ruby
taupiqueur has quit [Quit: taupiqueur]
Vonter has quit [Client Quit]
Vonter has joined #ruby
<adam12> ox1eef: Interesting. I thought rubydoc.info was using yardopts.
<adam12> ox1eef: I wonder if it will actually render correctly on gemdocs.org. I call `yard` directly, whereas rubydoc.info builds up a YARD builder, then parses the yardopts file. You'll have to let me know.
o|||||o has quit [Ping timeout: 246 seconds]
emcb549 has joined #ruby
emcb54 has quit [Ping timeout: 256 seconds]
emcb549 is now known as emcb54
emcb540 has joined #ruby
emcb54 has quit [Ping timeout: 248 seconds]
emcb540 is now known as emcb54
o|||||o has joined #ruby
nirvdrum has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.5]
jpn has joined #ruby
jpn has quit [Ping timeout: 250 seconds]
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 250 seconds]
jpn has joined #ruby
idiocrash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jpn has quit [Ping timeout: 248 seconds]
jpn has joined #ruby
favadi has quit [Ping timeout: 248 seconds]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
crankharder has joined #ruby
jpn has quit [Ping timeout: 250 seconds]
nirvdrum has joined #ruby
jpn has joined #ruby
goepsilongo has joined #ruby
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
dionysus69 has quit [Ping timeout: 256 seconds]
donofrio has joined #ruby
comet23 has joined #ruby
<comet23> why doesn't line 4 execute when an input of 2 is entered? https://bpa.st/LUBQ
jpn has quit [Ping timeout: 246 seconds]
<weaksauce> comet23 (2...2).to_a => []
<comet23> okay i see thank you so much
<weaksauce> comet23 (2..2).to_a => [2]
<comet23> wait a minute but is it when i assign (2..2) or something into a variable it gets stored as (2..2) instead of an array?
<comet23> in order for me to store it as an array i'd have to do *(2..2)
<weaksauce> yeah it's a range
<weaksauce> but there are limits to where you can splat it
<comet23> so the each method converts the range into an array?
<weaksauce> no i don't think i'd say that but it does iterate over the equivalent of it sure
<comet23> what does it do?
<weaksauce> i'd have to look at the source code but probably something akin to a for loop that increments and yields each value
<weaksauce> in short yes
<weaksauce> it yields an item each time and doesn't make an array first
<comet23> i don't know c that well
<weaksauce> yeah it's a bit obscure but the gist of it is that it has a while loop an increments the value each time it yields
protektwar has quit [Remote host closed the connection]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
jpn has joined #ruby
sgt_chuckles has quit [Quit: Client closed]
jpn has quit [Ping timeout: 256 seconds]
dionysus69 has joined #ruby
some14u has joined #ruby
___nick___ has quit [Ping timeout: 248 seconds]
some14u- has joined #ruby
some14u has quit [Read error: Connection reset by peer]
some14u- has quit [Client Quit]
some14u has joined #ruby
_ht has quit [Remote host closed the connection]
some14u has quit [Client Quit]
some14u has joined #ruby
jpn has joined #ruby
_aeris_ has joined #ruby
aeris has quit [Ping timeout: 240 seconds]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_aeris_ is now known as aeris
some14u has joined #ruby
ur5us has joined #ruby
o|||||o has quit [Ping timeout: 256 seconds]
jpn has quit [Ping timeout: 246 seconds]
Vonter has quit [Ping timeout: 246 seconds]
some14u has quit [Ping timeout: 248 seconds]
jpn has joined #ruby
o|||||o has joined #ruby
jpn has quit [Quit: Lost terminal]
TCZ has joined #ruby
crankharder has quit [Read error: Connection reset by peer]
crankhar1er has joined #ruby
hololeap has quit [Ping timeout: 240 seconds]
some14u has joined #ruby
hololeap has joined #ruby
o|||||o has quit [Remote host closed the connection]
TCZ has quit [Quit: Tcl has many different data types, not just strings.]
o|||||o has joined #ruby
hololeap has quit [Ping timeout: 240 seconds]
hololeap has joined #ruby
comet23 has quit [Quit: Client closed]
protektwar has quit [Remote host closed the connection]
protektwar has joined #ruby
protektwar has joined #ruby
hololeap has quit [Remote host closed the connection]
kaivai has quit [Quit: ZNC - https://znc.in]
Henry151_ is now known as Henry151
kaivai has joined #ruby
crankhar1er has quit [Ping timeout: 240 seconds]
TCZ has joined #ruby
goepsilongo has quit [Quit: Konversation terminated!]
protektwar has quit [Remote host closed the connection]
protektwar has joined #ruby
protektwar has joined #ruby
TCZ has quit [Quit: Tcl has many different data types, not just strings.]
ruby-eval has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
robotmay has quit [Quit: Be excellent to each other]
John_Ivan_ has quit [Quit: Leaving]
robotmay has joined #ruby
John_Ivan has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
TCZ has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]