havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.4, 2.5.6, 2.7.0-preview1: 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!
cthulchu has quit [Ping timeout: 265 seconds]
hutch1 has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kyrylo has joined #ruby
davidw_ has quit [Ping timeout: 246 seconds]
eclm has quit [Read error: Connection reset by peer]
thexa4 has joined #ruby
AJA4351 has joined #ruby
DaRock has quit [Ping timeout: 265 seconds]
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
jottr_ has joined #ruby
ramfjord has quit [Ping timeout: 268 seconds]
jottr_ has quit [Ping timeout: 240 seconds]
kotisky has quit [Ping timeout: 260 seconds]
queip has quit [Ping timeout: 245 seconds]
queip has joined #ruby
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lucasb has quit [Quit: Connection closed for inactivity]
<hays> baweaver: since its a block, I think I don't have to call socket.close() ?
jottr_ has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
banisterfiend has joined #ruby
nbrandoni has joined #ruby
<nbrandoni> Hello, I'm trying to undestad how a gem work, becausa I need to adapt it. I try to run the tests in the gem but throw me an error. My second choice was just debug the gem, but I need to do it been used from Rails gem. How can I debug a gem inside a rails app? This is the gem https://rubygems.org/gems/ar_doc_store/
<nbrandoni> understand*
<nbrandoni> because*
crankharder has quit [Quit: leaving]
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<nbrandoni> Sorry I think this is not the right place for this question, I think is a better in Rails channel. Really, Sorry and thanks!
kyrylo has joined #ruby
murarisumit has quit [Ping timeout: 265 seconds]
Frobozz has quit [Read error: Connection reset by peer]
Frobozz has joined #ruby
robscomputer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
robscomputer has joined #ruby
mre- has joined #ruby
wpkeg has joined #ruby
kegster has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ruby
Swyper has joined #ruby
cthulchu has joined #ruby
Esa has quit [Ping timeout: 245 seconds]
AJA4350 has quit [Remote host closed the connection]
Swyper has quit [Remote host closed the connection]
brool has joined #ruby
kotisky has joined #ruby
dasher00 has quit [Ping timeout: 240 seconds]
cthulchu_ has joined #ruby
ravenousmoose has joined #ruby
Swyper has joined #ruby
cthulchu_ has quit [Ping timeout: 268 seconds]
cthulchu_ has joined #ruby
lypsis has quit [Quit: ZNC - https://znc.in]
lypsis has joined #ruby
nbrandoni has quit [Quit: nbrandoni]
karstenk_ has quit [Ping timeout: 245 seconds]
karstenk_ has joined #ruby
Swyper has quit [Remote host closed the connection]
cthulchu has quit [Ping timeout: 276 seconds]
tdy has joined #ruby
brool has quit [Ping timeout: 245 seconds]
poontangmessiah has joined #ruby
_whitelogger has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
poontangmessiah has quit [Remote host closed the connection]
mre- has quit [Ping timeout: 276 seconds]
ravenousmoose has quit [Ping timeout: 276 seconds]
DaRock has joined #ruby
rippa has joined #ruby
SeepingN has joined #ruby
fphilipe has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
fphilipe has quit [Ping timeout: 264 seconds]
murarisumit has joined #ruby
kotisky has quit [Ping timeout: 260 seconds]
bitwinery has quit [Quit: Leaving]
murarisumit has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
kotisky has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
MrCrackPot has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
ozzloy has quit [Ping timeout: 258 seconds]
sauvin has joined #ruby
queip has quit [Ping timeout: 245 seconds]
mre- has joined #ruby
queip has joined #ruby
mre- has quit [Ping timeout: 276 seconds]
kotisky has quit [Ping timeout: 260 seconds]
dviola has joined #ruby
yokel has quit [Remote host closed the connection]
yokel has joined #ruby
robscomputer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
robscomputer has joined #ruby
blackmesa1 has joined #ruby
s2013 has joined #ruby
queip has quit [Ping timeout: 265 seconds]
cthulchu_ has quit [Ping timeout: 265 seconds]
kyrylo has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
queip has joined #ruby
jottr_ has joined #ruby
r3m has quit [Quit: WeeChat 2.7-dev]
r3m has joined #ruby
DaRock has joined #ruby
jottr_ has quit [Ping timeout: 276 seconds]
ramfjord has joined #ruby
t3hyoshi has quit [Ping timeout: 245 seconds]
cd has quit [Quit: cd]
jottr_ has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 276 seconds]
sameerynho has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa1 has quit [Ping timeout: 246 seconds]
tdy has quit [Quit: WeeChat 1.9.1]
mre- has joined #ruby
mre- has quit [Ping timeout: 245 seconds]
agent_white has joined #ruby
dellavg has joined #ruby
blackmesa1 has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe has joined #ruby
zapata has quit [Ping timeout: 264 seconds]
zapata_ has joined #ruby
queip has quit [Ping timeout: 276 seconds]
queip has joined #ruby
zapata_ is now known as zapata
fphilipe has quit [Ping timeout: 245 seconds]
jottr_ has quit [Ping timeout: 258 seconds]
Technodrome has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
blackmesa1 has quit [Ping timeout: 276 seconds]
dretnx has joined #ruby
ramfjord has joined #ruby
_whitelogger has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
Inline has quit [Quit: Leaving]
jottr_ has joined #ruby
x86sk has joined #ruby
alfiemax has quit [Remote host closed the connection]
schne1der has joined #ruby
jottr_ has quit [Ping timeout: 276 seconds]
thexa4 has joined #ruby
alfiemax has joined #ruby
blackmesa1 has joined #ruby
dviola has quit [Quit: WeeChat 2.6]
schne1der has quit [Ping timeout: 265 seconds]
queip has quit [Ping timeout: 276 seconds]
queip has joined #ruby
blackmesa has joined #ruby
blackmesa1 has quit [Ping timeout: 246 seconds]
fphilipe has joined #ruby
drincruz has joined #ruby
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
i9zO5AP has joined #ruby
alfiemax has quit [Remote host closed the connection]
Ai9zO5AP has quit [Ping timeout: 240 seconds]
drincruz has quit [Ping timeout: 276 seconds]
alfiemax has joined #ruby
fphilipe has quit [Ping timeout: 246 seconds]
chalkmonster has joined #ruby
blackmesa has quit [Quit: WeeChat 2.6]
jottr_ has joined #ruby
queip has quit [Ping timeout: 265 seconds]
jottr_ has quit [Ping timeout: 268 seconds]
queip has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
blackmesa has joined #ruby
Ven`` has joined #ruby
dasher00 has joined #ruby
hightower3 has quit [Ping timeout: 276 seconds]
Inline has joined #ruby
fphilipe has joined #ruby
fphilipe has quit [Ping timeout: 264 seconds]
alfiemax has quit [Remote host closed the connection]
murarisumit has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hiroaki has joined #ruby
murarisumit has quit [Ping timeout: 245 seconds]
alfiemax has joined #ruby
jottr_ has joined #ruby
Technodrome has joined #ruby
alfiemax has quit [Remote host closed the connection]
lucasb has joined #ruby
howdoi has joined #ruby
alfiemax has joined #ruby
queip has quit [Ping timeout: 268 seconds]
queip has joined #ruby
jottr_ has quit [Ping timeout: 240 seconds]
chalkmonster has quit [Ping timeout: 245 seconds]
chalkmonster has joined #ruby
AJA4350 has joined #ruby
Inline__ has joined #ruby
Inline__ has quit [Read error: Connection reset by peer]
Inline has quit [Ping timeout: 264 seconds]
involans has quit [Quit: involans]
Inline has joined #ruby
jottr_ has joined #ruby
alfiemax has quit [Remote host closed the connection]
queip has quit [Ping timeout: 276 seconds]
queip has joined #ruby
chalkmonster has quit [Ping timeout: 245 seconds]
al2o3-cr has quit [Quit: WeeChat 2.6]
chalkmonster has joined #ruby
nowhereman has quit [Ping timeout: 276 seconds]
queip has quit [Ping timeout: 245 seconds]
queip has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
MrCrackPot has joined #ruby
Fernando-Basso has joined #ruby
klaas has quit [Quit: ZNC 1.7.4 - https://znc.in]
klaas has joined #ruby
agent_white has quit [Quit: bbl]
blackmesa has quit [Ping timeout: 246 seconds]
alfiemax has joined #ruby
chalkmon1 has joined #ruby
chalkmonster has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 258 seconds]
sagax has joined #ruby
queip has joined #ruby
x86sk has quit [Quit: Connection closed for inactivity]
blackmesa has joined #ruby
blackmesa has quit [Ping timeout: 245 seconds]
jacksoow has quit [Ping timeout: 246 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jacksoow has joined #ruby
queip has quit [Ping timeout: 265 seconds]
blackmesa has joined #ruby
queip has joined #ruby
alfiemax has quit [Remote host closed the connection]
shtirlic has quit [Quit: ZNC - http://znc.in]
nowhereman has joined #ruby
alfiemax has joined #ruby
shtirlic has joined #ruby
suukim has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
Guest69 has joined #ruby
<Guest69> hey all
<phaul> howdy
<Guest69> I'm coming back to ruby after a bit of experience with 5 and learning that 6 came out just recently!
<Guest69> rails i mean
nowhereman has quit [Read error: Connection reset by peer]
Guest69 has quit [Remote host closed the connection]
i9zO5AP has quit [Quit: WeeChat 2.5]
schne1der has joined #ruby
zapata_ has joined #ruby
zapata has quit [Ping timeout: 264 seconds]
queip has quit [Ping timeout: 245 seconds]
queip has joined #ruby
banisterfiend has joined #ruby
Fernando-Basso has quit [Remote host closed the connection]
zapata_ is now known as zapata
nowhereman has joined #ruby
murarisumit has joined #ruby
jacksoow has quit [Read error: Connection reset by peer]
murarisumit has quit [Ping timeout: 265 seconds]
queip has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 276 seconds]
queip has joined #ruby
chalkmon1 has quit [Ping timeout: 265 seconds]
jacksoow has joined #ruby
freehardhat has joined #ruby
queip has quit [Ping timeout: 276 seconds]
poontangmessiah has joined #ruby
queip has joined #ruby
Esa_ has joined #ruby
m27frogy has quit [Quit: ZNC - https://znc.in]
m27frogy has joined #ruby
nowhereman has quit [Ping timeout: 245 seconds]
Fischmiep has joined #ruby
dellavg has quit [Ping timeout: 265 seconds]
Technodrome has joined #ruby
mre- has joined #ruby
queip has quit [Ping timeout: 245 seconds]
jottr_ has quit [Ping timeout: 245 seconds]
Ven`` has quit [Quit: Textual IRC Client: www.textualapp.com]
jottr_ has joined #ruby
queip has joined #ruby
kotisky has joined #ruby
dretnx has quit [Ping timeout: 276 seconds]
jottr_ has quit [Ping timeout: 265 seconds]
mre- has quit [Ping timeout: 245 seconds]
hutch1 has quit [Ping timeout: 264 seconds]
jottr_ has joined #ruby
xco has joined #ruby
kotisky has quit [Ping timeout: 260 seconds]
kotisky has joined #ruby
Fischmiep has quit [Ping timeout: 245 seconds]
kotisky has quit [Ping timeout: 260 seconds]
jottr_ has quit [Ping timeout: 265 seconds]
dhollinger has quit [Ping timeout: 276 seconds]
kotisky has joined #ruby
Swyper has joined #ruby
chalkmonster has joined #ruby
n13z has quit [Remote host closed the connection]
queip has quit [Ping timeout: 276 seconds]
queip has joined #ruby
silviu14 has quit [Remote host closed the connection]
silviu15 has joined #ruby
titanbiscuit has quit [Ping timeout: 246 seconds]
chalkmonster has quit [Quit: WeeChat 2.6]
jottr_ has joined #ruby
entel has joined #ruby
jottr_ has quit [Ping timeout: 258 seconds]
titanbiscuit has joined #ruby
cagomez has joined #ruby
<cagomez> I'm using Minitest::Benchmark#assert_performance_linear and my test is failing with "Expected 0.5859 to be >= 0.99." . What does this mean exactly?
blackmesa has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
chalkmonster has joined #ruby
Xiti` has joined #ruby
helpa-bot has joined #ruby
MrCrackPotBuilde has joined #ruby
Tempesta_ has joined #ruby
jacksoow_ has joined #ruby
SirFunk_ has joined #ruby
Junaos has joined #ruby
WhatsGoingOn has joined #ruby
helpa-bot has quit [Remote host closed the connection]
kegster has joined #ruby
Tempesta_ has left #ruby [#ruby]
ged_ has joined #ruby
helpa-bot has joined #ruby
davor_ has joined #ruby
pelegreno_ has joined #ruby
tw1sted_ has joined #ruby
ytti_ has joined #ruby
reaVer_ has joined #ruby
pookie has joined #ruby
linuus_ has joined #ruby
pabs_ has joined #ruby
balo_ has joined #ruby
miah_ has joined #ruby
helpa-bot has quit [Remote host closed the connection]
funnel_ has joined #ruby
ta1 has joined #ruby
yokel_ has joined #ruby
CalimeroTeknik_ has joined #ruby
lucas_ has joined #ruby
helpa-bot has joined #ruby
cjohnson_ has joined #ruby
jottr_ has joined #ruby
helpa-bot has quit [Remote host closed the connection]
Ca1us has joined #ruby
Ca1us has quit [Changing host]
Ca1us has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
Jello_Raptor_ has joined #ruby
c0san0stra_ has joined #ruby
Scientz has joined #ruby
mayamai has joined #ruby
mre- has joined #ruby
cpallares_ has joined #ruby
jacksoow has quit [*.net *.split]
MrCrackPot has quit [*.net *.split]
yokel has quit [*.net *.split]
wpkeg has quit [*.net *.split]
davor has quit [*.net *.split]
Tempesta has quit [*.net *.split]
GodFather has quit [*.net *.split]
bluetown has quit [*.net *.split]
Junaos_ has quit [*.net *.split]
CalimeroTeknik has quit [*.net *.split]
Xiti has quit [*.net *.split]
ryouba has quit [*.net *.split]
SirFunk has quit [*.net *.split]
Scient has quit [*.net *.split]
iamayam has quit [*.net *.split]
ta has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
miah has quit [*.net *.split]
ccooke has quit [*.net *.split]
ged has quit [*.net *.split]
justache has quit [*.net *.split]
Cyrus has quit [*.net *.split]
rcvu has quit [*.net *.split]
funnel has quit [*.net *.split]
Raboo has quit [*.net *.split]
pabs has quit [*.net *.split]
ytti has quit [*.net *.split]
xtsee has quit [*.net *.split]
reaVer has quit [*.net *.split]
balo has quit [*.net *.split]
UserOO7 has quit [*.net *.split]
shanks8080 has quit [*.net *.split]
cjohnson has quit [*.net *.split]
agrecascino has quit [*.net *.split]
olspookishmagus has quit [*.net *.split]
tw1sted has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
helpa has quit [*.net *.split]
Caius has quit [*.net *.split]
c0san0stra has quit [*.net *.split]
linuus has quit [*.net *.split]
cpallares has quit [*.net *.split]
iMadper has quit [*.net *.split]
lucas has quit [*.net *.split]
Davey has quit [*.net *.split]
pelegreno has quit [*.net *.split]
Scientz is now known as Scient
Jello_Raptor_ is now known as Jello_Raptor
davor_ is now known as davor
c0san0stra_ is now known as c0san0stra
yokel_ is now known as yokel
agrecascino_ has joined #ruby
funnel_ is now known as funnel
helpa has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
ged_ is now known as ged
agrecascino_ is now known as agrecascino
shanks8080 has joined #ruby
Raboo has joined #ruby
akosednar has quit [Ping timeout: 240 seconds]
ccooke has joined #ruby
rcvu has joined #ruby
ryouba has joined #ruby
Cyrus has joined #ruby
pookie has quit [Quit: All for nothing]
olspookishmagus has joined #ruby
GodFather has joined #ruby
jottr_ has quit [Ping timeout: 265 seconds]
xtsee has joined #ruby
NightMonkey has joined #ruby
akosednar has joined #ruby
akosednar has joined #ruby
akosednar has quit [Changing host]
jrafanie has joined #ruby
blackmesa has joined #ruby
jottr_ has joined #ruby
jmcgnh has quit [Ping timeout: 240 seconds]
jmcgnh_ has joined #ruby
Davey has joined #ruby
jmcgnh_ is now known as jmcgnh
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
witlesswonder has quit [Remote host closed the connection]
murarisumit has joined #ruby
witlesswonder has joined #ruby
cow[moo] has joined #ruby
cagomez has quit [Remote host closed the connection]
hutch1 has joined #ruby
brool has joined #ruby
cow[moo] has quit [Ping timeout: 245 seconds]
ravenousmoose has joined #ruby
queip has quit [Ping timeout: 245 seconds]
poontangmessiah has quit [Remote host closed the connection]
queip has joined #ruby
nbrandoni has joined #ruby
murarisumit has quit [Ping timeout: 246 seconds]
hiroaki has quit [Ping timeout: 245 seconds]
ravenousmoose has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> xco: m.name.split('::').each_cons(2).map { |a, b| "#{a}, parent of #{b}" }.join(', ')
<havenwood> xco: #=> "A, parent of B, B, parent of C, C, parent of D"
<havenwood> xco: m.name.split('::').join(', parent of ')
<havenwood> xco: #=> "A, parent of B, parent of C, parent of D"
<xco> havenwood: thank you :)
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrafanie has joined #ruby
kotisky has quit [Ping timeout: 260 seconds]
<havenwood> cagomez, oh, they left.
kotisky has joined #ruby
<havenwood> I was going to say, the docs in the code show it's checking for a fit: https://www.mathworks.com/help/curvefit/evaluating-goodness-of-fit.html
suukim has quit [Remote host closed the connection]
hutch1 has quit [Ping timeout: 246 seconds]
hightower3 has joined #ruby
cthulchu_ has joined #ruby
hightower3 has quit [Changing host]
hightower3 has joined #ruby
cd has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mre- has quit [Ping timeout: 245 seconds]
thexa4 has joined #ruby
hutch1 has joined #ruby
tdy has joined #ruby
Arahael has quit [Ping timeout: 276 seconds]
Intelo has joined #ruby
Intelo has quit [Read error: Connection reset by peer]
chalkmonster has quit [Quit: WeeChat 2.6]
drincruz has joined #ruby
jacksoow_ has quit [Read error: Connection reset by peer]
chalkmonster has joined #ruby
jacksoow has joined #ruby
kotisky has quit [Ping timeout: 260 seconds]
Fischmiep has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
jottr has joined #ruby
chalkmonster has joined #ruby
kotisky has joined #ruby
jottr_ has quit [Ping timeout: 264 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
segy has quit [Ping timeout: 245 seconds]
segy has joined #ruby
cagomez has joined #ruby
hutch1 has quit [Ping timeout: 246 seconds]
fierycatnet has joined #ruby
fierycatnet has quit [Client Quit]
chalkmonster has quit [Quit: WeeChat 2.6]
drincruz has quit [Ping timeout: 246 seconds]
chalkmonster has joined #ruby
Intelo has joined #ruby
x86sk has joined #ruby
Azure|dc has joined #ruby
Azure has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jrafanie has joined #ruby
dumptruckman has quit [Ping timeout: 264 seconds]
dumptruckman has joined #ruby
mre- has joined #ruby
hutch1 has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Intelo_ has joined #ruby
Intelo_ has quit [Remote host closed the connection]
chalkmonster has quit [Quit: WeeChat 2.6]
Intelo_ has joined #ruby
Intelo has quit [Remote host closed the connection]
Intelo_ is now known as Intelo
blackmesa has quit [Quit: WeeChat 2.6]
rem_ has joined #ruby
cagomez has quit [Remote host closed the connection]
hutch1 has quit [Ping timeout: 246 seconds]
Fischmiep has quit [Ping timeout: 276 seconds]
rem_ has quit [Ping timeout: 245 seconds]
rem_ has joined #ruby
Intelo has quit [Remote host closed the connection]
Intelo has joined #ruby
hutch1 has joined #ruby
kotisky has quit [Ping timeout: 260 seconds]
sVs has joined #ruby
bitwinery has joined #ruby
queip has quit [Ping timeout: 245 seconds]
<sVs> Hello guys
<sVs> I'm trying to convert float type output to human readable view
<sVs> My script writes that 1.865e-07
<sVs> but I need something like 0,000001 that
queip has joined #ruby
Frobozz has quit [Read error: Connection reset by peer]
impermanence has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 276 seconds]
<havenwood> sVs: require 'bigdecimal'; require 'bigdecimal/util'; 1.865e-07.to_d.to_digits #=> "0.0000001865"
<sVs> cool
cagomez has joined #ruby
<sVs> thanks so much!
<havenwood> &>> require 'bigdecimal'; require 'bigdecimal/util'; decimal = 1.865e-07.to_d; decimal.public_methods(false).select { |meth| decimal.public_method(meth).arity.zero? }.to_h { |meth| [meth, decimal.public_send(meth)] }
<havenwood> sVs: you're welcome!
<rubydoc> stderr: playpen: timeout triggered! (https://carc.in/#/r/7m30)
freehardhat has quit [Read error: Connection reset by peer]
<havenwood> require 'bigdecimal'; require 'bigdecimal/util'; decimal = 1.865e-07.to_d; decimal.public_methods(false).select { |meth| decimal.public_method(meth).arity.zero? }.select { |meth| decimal.public_send(meth).to_s.start_with?('0.000') }
<havenwood> #=> [:to_digits]
mre- has joined #ruby
<havenwood> I guess no need for the second loop.
<havenwood> decimal.public_methods(false).select { |meth| decimal.public_method(meth).arity.zero? && decimal.public_send(meth).to_s.start_with?('0.000') }
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
hutch1 has quit [Ping timeout: 276 seconds]
queip has quit [Ping timeout: 265 seconds]
segy has quit [Quit: ZNC - http://znc.in]
Arahael has joined #ruby
queip has joined #ruby
titanbiscuit has quit [Read error: Connection reset by peer]
titanbiscuit has joined #ruby
sagax has quit [Remote host closed the connection]
sagax has joined #ruby
jottr has joined #ruby
cagomez has quit [Remote host closed the connection]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
jottr_ has joined #ruby
murarisumit has joined #ruby
mosfet has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
fig-le-deunch has joined #ruby
murarisumit has quit [Ping timeout: 240 seconds]
jottr_ has quit [Ping timeout: 240 seconds]
reber has joined #ruby
mosfet has quit []
mosfet has joined #ruby
mosfet has quit [Client Quit]
mosfet has joined #ruby
mosfet has quit [Client Quit]
krillbat has joined #ruby
cagomez has quit [Remote host closed the connection]
Fernando-Basso has joined #ruby
cagomez has joined #ruby
fig-le-deunch has quit [Quit: Konversation terminated!]
schne1der has quit [Ping timeout: 265 seconds]
queip has quit [Ping timeout: 240 seconds]
cagomez has quit [Remote host closed the connection]
queip has joined #ruby
Intelo has quit [Remote host closed the connection]
Intelo has joined #ruby
banisterfiend has joined #ruby
pabs_ is now known as pabs
x0f_ has quit [Ping timeout: 265 seconds]
banisterfiend has quit [Read error: Connection reset by peer]
cjkinni has joined #ruby
x0f has joined #ruby
jottr_ has joined #ruby
blackmesa has joined #ruby
blackmesa has quit [Client Quit]
jottr_ has quit [Ping timeout: 245 seconds]
sVs has quit [Read error: Connection reset by peer]
bitwinery has quit [Quit: Leaving]
queip has quit [Ping timeout: 240 seconds]
queip has joined #ruby
envex has quit []
Intelo has quit [Remote host closed the connection]
Intelo has joined #ruby
hightower3 has quit [Ping timeout: 246 seconds]
poontangmessiah has joined #ruby
nowhereman has joined #ruby
queip has quit [Ping timeout: 265 seconds]
reber has quit [Remote host closed the connection]
queip has joined #ruby
cjkinni has quit [Ping timeout: 240 seconds]
dasher00 has quit [Ping timeout: 265 seconds]
drincruz has joined #ruby
mre- has quit [Ping timeout: 245 seconds]
phenom has joined #ruby
drincruz has quit [Ping timeout: 265 seconds]
drincruz has joined #ruby
mre- has joined #ruby
kotisky has joined #ruby
bitwinery has joined #ruby
Fernando-Basso has quit [Remote host closed the connection]
cagomez has joined #ruby
poontangmessiah_ has joined #ruby
cagomez has quit [Client Quit]
tdy has quit [Ping timeout: 240 seconds]
poontangmessiah has quit [Ping timeout: 245 seconds]
queip has quit [Ping timeout: 246 seconds]