havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.1, 2.5.3, 2.4.5: 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!
[Butch] has quit [Ping timeout: 250 seconds]
Fernando-Basso has quit [Remote host closed the connection]
KindUne is now known as uplime
crankharder has joined #ruby
elcontrastador has quit [Ping timeout: 246 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AJA4350 has quit [Ping timeout: 244 seconds]
AJA4350 has joined #ruby
tdy has quit [Ping timeout: 268 seconds]
cnsvc has joined #ruby
jcarl43 has joined #ruby
jane_booty_doe has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
valadares has quit [Read error: Connection reset by peer]
valadares has joined #ruby
hutch has joined #ruby
orbyt_ has joined #ruby
s2013 has joined #ruby
blackmesa1 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 240 seconds]
tpanarch1st has joined #ruby
Swyper has joined #ruby
cnsvc has quit [Quit: WeeChat 2.3]
Swyper has quit [Ping timeout: 250 seconds]
crankharder has quit [Ping timeout: 245 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
\void has quit [Quit: So long, and thanks for all the fish.]
houhoulis has joined #ruby
d10n-work has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
orbyt_ has joined #ruby
Exagone313 has quit [Ping timeout: 246 seconds]
jinie has quit [Ping timeout: 245 seconds]
funnel has quit [Ping timeout: 246 seconds]
funnel has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
apparition has joined #ruby
Exagone313 has joined #ruby
SeepingN has joined #ruby
gix has quit [Ping timeout: 240 seconds]
tpanarch1st has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Quit: AJA4350]
crankharder has joined #ruby
cthu| has quit [Ping timeout: 246 seconds]
eblip has quit [Read error: Connection reset by peer]
eblip has joined #ruby
gnufied has quit [Remote host closed the connection]
jottr has joined #ruby
cnsvc has joined #ruby
d^sh has quit [Ping timeout: 250 seconds]
d^sh has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
cd has quit [Remote host closed the connection]
tdy has joined #ruby
cd has joined #ruby
tfitts has quit [Quit: Connection closed for inactivity]
agent_white has quit [Quit: night]
sgen has joined #ruby
bougyman has quit [Ping timeout: 264 seconds]
hutch has quit [Ping timeout: 250 seconds]
bougyman has joined #ruby
vonfry has joined #ruby
stryek has quit [Quit: Connection closed for inactivity]
tdy has quit [Ping timeout: 244 seconds]
hutch has joined #ruby
dhollinger has quit [Ping timeout: 245 seconds]
blackmesa1 has quit [Ping timeout: 252 seconds]
vonfry has quit [Quit: WeeChat 2.3]
apparition has quit [Ping timeout: 240 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
\void has joined #ruby
lxsameer has quit [Ping timeout: 250 seconds]
braincrash has quit [Quit: bye bye]
href has quit [Ping timeout: 246 seconds]
braincrash has joined #ruby
tdy has joined #ruby
millerti has quit [Ping timeout: 240 seconds]
crankharder has quit [Ping timeout: 268 seconds]
jottr has joined #ruby
spacesuitdiver has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
duderonomy has joined #ruby
hutch has quit [Ping timeout: 244 seconds]
hutch has joined #ruby
themsay has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.3]
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SuperLag has quit [Ping timeout: 245 seconds]
SuperLag has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
d10n-work has quit [Quit: Connection closed for inactivity]
hutch has joined #ruby
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy has joined #ruby
spacesuitdiver has quit [Quit: Textual IRC Client: www.textualapp.com]
akosednar has quit [Ping timeout: 240 seconds]
dellavg__ has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
akosednar has joined #ruby
conta has joined #ruby
asphyxia has joined #ruby
conta has quit [Ping timeout: 250 seconds]
asphyxia has quit [Quit: leaving]
jottr has joined #ruby
cthu| has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
houhoulis has quit [Remote host closed the connection]
xrexeon has joined #ruby
sauvin has joined #ruby
sauvin has quit [Excess Flood]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
\void has quit [Quit: So long, and thanks for all the fish.]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 245 seconds]
crankharder has joined #ruby
s2013 has joined #ruby
sauvin has joined #ruby
sauvin has quit [Excess Flood]
sauvin has joined #ruby
reber has joined #ruby
Dbugger has joined #ruby
jottr has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
themsay has quit [Ping timeout: 244 seconds]
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
crankharder has quit [Ping timeout: 246 seconds]
crankharder has joined #ruby
conta has joined #ruby
Dbugger has quit [Remote host closed the connection]
sgen has quit [Ping timeout: 268 seconds]
apparition has joined #ruby
Mike11 has joined #ruby
blackmesa1 has joined #ruby
conta1 has joined #ruby
conta1 has quit [Ping timeout: 244 seconds]
blackmesa1 has quit [Ping timeout: 240 seconds]
tdy has quit [Ping timeout: 272 seconds]
jottr has joined #ruby
isxek has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
GodFather_ has joined #ruby
tdy has joined #ruby
href has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crankhar1er has joined #ruby
crankharder has quit [Ping timeout: 245 seconds]
tdy has quit [Ping timeout: 245 seconds]
cnsvc has quit [Ping timeout: 256 seconds]
clemens3 has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
jottr has joined #ruby
SCHAPiE has quit [Quit: ZNC - https://znc.in]
SCHAPiE has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
Mike11 has quit [Quit: Leaving.]
Fernando-Basso has joined #ruby
SCHAPiE has quit [Ping timeout: 246 seconds]
reber has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
tdy has joined #ruby
crankhar1er has quit [Ping timeout: 268 seconds]
SCHAPiE has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
blackmesa1 has joined #ruby
za1b1tsu has joined #ruby
valadares has quit [Read error: Connection reset by peer]
valadares has joined #ruby
rippa has joined #ruby
jottr has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
ravenousmoose has joined #ruby
kapil____ has joined #ruby
skyikot has joined #ruby
ravenousmoose has quit [Quit: Taking a quick nap...ZZzzz]
lxsameer has joined #ruby
skyikot has quit [Client Quit]
za1b1tsu has quit [Remote host closed the connection]
jottr has joined #ruby
AJA4350 has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
gix has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
jottr has joined #ruby
cd has quit [Quit: cd]
AJA4350 has quit [Ping timeout: 240 seconds]
isxek has quit [Remote host closed the connection]
AJA4350 has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.3]
al2o3-cr has joined #ruby
TvL2386 has quit [Ping timeout: 245 seconds]
maxmanders_ has joined #ruby
clemens3 has quit [Remote host closed the connection]
maxmanders has quit [Ping timeout: 272 seconds]
maxmanders_ is now known as maxmanders
roshanavand_ has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
nowhere_man has quit [Ping timeout: 252 seconds]
jottr_ has joined #ruby
TvL2386 has joined #ruby
TvL2386 has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Ping timeout: 250 seconds]
conta has quit [Quit: conta]
_whitelogger has joined #ruby
xrexeon has quit [Remote host closed the connection]
TvL2386 has joined #ruby
dviola has joined #ruby
TvL2386 has quit [Ping timeout: 240 seconds]
aelyx has joined #ruby
postmodern has quit [Quit: Leaving]
AJA4350 has joined #ruby
aelyx has quit [Read error: Connection reset by peer]
Fernando-Basso has quit [Remote host closed the connection]
hutch has joined #ruby
clemens3 has joined #ruby
jottr_ has quit [Read error: Connection reset by peer]
Mike11 has joined #ruby
jottr_ has joined #ruby
jottr has joined #ruby
TvL2386 has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
hiroaki has quit [Ping timeout: 244 seconds]
jottr has quit [Ping timeout: 268 seconds]
apparition has quit [Quit: Bye]
TvL2386 has quit [Ping timeout: 272 seconds]
Xeago_ has joined #ruby
deathwishdave has joined #ruby
Xeago has quit [Ping timeout: 246 seconds]
Xeago_ is now known as Xeago
conta has joined #ruby
jottr has joined #ruby
crankharder has joined #ruby
conta has quit [Ping timeout: 250 seconds]
kapil____ has quit [Quit: Connection closed for inactivity]
crankharder has quit [Ping timeout: 240 seconds]
ravenousmoose has joined #ruby
clemens3 has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 250 seconds]
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has joined #ruby
deathwishdave has joined #ruby
crankharder has joined #ruby
dviola has quit [Quit: WeeChat 2.3]
conta has quit [Ping timeout: 244 seconds]
<al2o3-cr> any reason this might segfault, like, 1 in every 10 or so: https://gist.github.com/gr33n7007h/a152a88b3ed78b8d42cfc10f4adfc103
crankharder has quit [Ping timeout: 250 seconds]
<al2o3-cr> the piece of shit.
sgen has joined #ruby
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
millerti has joined #ruby
ByronJohnson has quit [Ping timeout: 246 seconds]
bmurt has joined #ruby
ByronJohnson has joined #ruby
AJA4350 has joined #ruby
namkeen has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch has quit [Ping timeout: 246 seconds]
dhollinger has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
Mike11 has quit [Quit: Leaving.]
CBebop has quit [Quit: See you later, Space Cowboy.]
roshanavand_ has quit [Remote host closed the connection]
roshanavand_ has joined #ruby
spacesuitdiver has joined #ruby
bairyn has joined #ruby
Fernando-Basso has joined #ruby
ByronJohnson has quit [Ping timeout: 246 seconds]
dinfuehr has quit [Ping timeout: 246 seconds]
dinfuehr has joined #ruby
CBebop has joined #ruby
CBebop has quit [Quit: See you later, Space Cowboy.]
CBebop has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
hiroaki has joined #ruby
conta has joined #ruby
nowhere_man has joined #ruby
BH23 has joined #ruby
hutch has joined #ruby
hiroaki has quit [Ping timeout: 240 seconds]
conta has quit [Ping timeout: 268 seconds]
themsay has joined #ruby
blackmesa1 has quit [Ping timeout: 252 seconds]
hutch has quit [Ping timeout: 246 seconds]
blackmesa1 has joined #ruby
hiroaki has joined #ruby
szulak_ has joined #ruby
phaul has quit [Quit: bye]
phaul has joined #ruby
aupadhye has joined #ruby
n13z has quit [Ping timeout: 240 seconds]
thunderbirdtr has quit [Quit: ZNC 1.7.1 - https://znc.in]
thunderbirdtr has joined #ruby
szulak_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
n13z has joined #ruby
hutch has joined #ruby
szulak_ has joined #ruby
szulak_ has quit [Client Quit]
sgen has quit [Ping timeout: 240 seconds]
conta has joined #ruby
BH23 has quit [Ping timeout: 272 seconds]
conta has quit [Quit: conta]
AJA4350 has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
gix has quit [Disconnected by services]
dviola has joined #ruby
hutch has quit [Quit: WeeChat 2.3]
dionysus70 has joined #ruby
blackmesa1 has quit [Ping timeout: 240 seconds]
TvL2386 has joined #ruby
<phaul> &fake Hacker.say_something_smart
<rubydoc> Try to compress the USB microchip, maybe it will parse the multi-byte array!
deathwishdave has joined #ruby
aupadhye has quit [Ping timeout: 245 seconds]
jason479 has joined #ruby
<jason479> Hi everyone
<havenwood> jason479: hi
<jason479> is it possible to publish a module as a gem ?
<havenwood> jason479: yes
<jason479> haven wood the module i wish to publish is here : https://gist.github.com/wesley974/adba95ca1e1fcdff8020258857a9f85a if you can take a look
<phaul> ?tabnick
<ruby[bot]> pro-tip - use tab completion for nicks. avoids typos in nicks.
<jason479> sorry for the nickname
xlegoman has joined #ruby
<havenwood> jason479: there's already a Needs gem, so you'd just need to pick a slightly different namespace if you want to publish to RubyGems
<havenwood> jason479: that module is perfectly fine for a gem
<jason479> but tests is missing
<havenwood> you'd want to put it in a gem dir layout
<jason479> havenwood: can i publish the gem without the spec ?(i mean the test)
<havenwood> yes, you can publish a gem without specs/tests
<jason479> ok, thank you very much
<havenwood> consider writing them anyway!
<havenwood> have you tried Minitest?
<jason479> i just tried rspec
<jason479> in a learning way
<jason479> but for now it is system related, i don't know how to test these 2 methods (:root & :release?(number))
maryo has joined #ruby
AJA4351 has joined #ruby
aupadhye has joined #ruby
<jason479> can i have something like OH::Needs.root ?
blackmesa1 has joined #ruby
<jason479> a module in a module ?
<phaul> yes you can nest modules
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
<phaul> &>> module A; module B; def self.foo; 1; end; end; end; A::B.foo
<rubydoc> # => 1 (https://carc.in/#/r/67nn)
hahuang6- has quit [Quit: ZNC 1.8.x-nightly-20190111-e415d9f5 - https://znc.in]
CBebop has left #ruby ["See you later, Space Cowboy."]
hahuang6- has joined #ruby
lytol_ has quit [Remote host closed the connection]
<phaul> on testing root & release. it's kind of tricky because of the external dependency on etc. If you stub etc then you can control different etc behaviour for different test cases. But test stubbing and mocking is a bigger topic
dviola has quit [Quit: WeeChat 2.3]
orbyt_ has joined #ruby
conta has joined #ruby
<havenwood> jason479: Here's an example of Minitest specs for the #root method in your code: https://gist.github.com/havenwood/6a1f8e1c7e6b2a1831ef76f6459030de
<havenwood> (using stubs)
conta has quit [Ping timeout: 244 seconds]
conta has joined #ruby
<havenwood> jason479: You can stub Etc.uname to be a Hash for the other public method.
sgen has joined #ruby
<havenwood> jason479: If you have trouble with the gem layout or getting specs working in it, let us know and we can help.
blackmesa1 has quit [Ping timeout: 264 seconds]
<jason479> ok thank you so much havenwood and phaul
<jason479> shame that i can't name it 'needs' as already exists
<jason479> i need to find a good name
<phaul> One of the 3 most difficult problems in computer science ;)
<havenwood> jason479: How about OpenNeeds?
cthulchu_ has joined #ruby
<havenwood> jason479: That'd be a gem name of open_needs.
conta has quit [Ping timeout: 250 seconds]
<phaul> the other one being off by one errors
<havenwood> jason479: Are you going to publish it to RubyGems?
<jason479> yep
<havenwood> jason479: What are you using it for? Maybe that'll help with the name.
<jason479> in fact i wish to publish multiple small gems like 'Needs' to be able use them to deploy for example a mailserver (scripting)
<jason479> I'm a fan of OpenBSD
<havenwood> jason479: You could might consider a single gem namespace, with plugin gems.
<jason479> if i publish OpenBSDHelper (openbsd_helper) as a namespace, publish a gem with the 'Needs' plugin, can i later update it and add for example a new plugin named 'Rcctl' ?
<jason479> sorry for my newbie questions, i'm totally new to Ruby
cthu| has quit [Ping timeout: 240 seconds]
<jason479> So i will have something like : OpenBSDHelper::Needs.root ...
<havenwood> jason479: OpenBSDHelper would be open_bsd_helper.
<havenwood> jason479: Yes. That plugin gem would be named open_bsd_helper-needs.
<havenwood> jason479: or Mailserver (mailserver) with Mailserver::Needs (mailserver-needs).
<jason479> it will be 2 gems ? open_bsd_helper and open_bsd_helper-needs ?
<havenwood> jason479: I do like OpenBSDHelper. That's descriptive.
<jason479> it will be 2 gems ?
<havenwood> jason479: Yes. It's a pretty common pattern. Sometimes the root gem installs the plugins. Sometimes you cherrypick plugins.
<havenwood> jason479: For example, pry-theme and pry-remote are pry gem plugins.
<havenwood> jason479: It can be multiple gems, or you can ship it as one.
<jason479> if i choose the plugins way
<havenwood> jason479: Consider if they should always be used together. Is there an advantage in making it modular?
<jason479> what's about the alone OpenBSDHelper ? what it is exactly without plugins ?
<havenwood> jason479: Well, if there's a common core, it'd go there.
<havenwood> jason479: If not, it'd be an empty module.
Dbugger has joined #ruby
<jason479> havenwood: you re right, when scripting , i ll need all the modules
<havenwood> jason479: Maybe try making a single gem, with namespaced modules.
<havenwood> jason479: An open_bsd_helper gem can have OpenBSDHelper::Needs, etc.
<havenwood> jason479: Mirror the filestructure after the namespace.
<jason479> but if i publish the gem OpenBSDHelper with for example only one module embedded like Needs, if i need to add a new module to the already published gem, how can i update that ?
<havenwood> jason479: OpenBSDHelper is lib/open_bsd_helper.rb and OpenBSDHelper::Needs is lib/open_bsd_helper/needs.rb.
<jason479> i understand this point
<jason479> but if later i need to add a new module
<jason479> for example a module named 'Rcctl'
<havenwood> just add it and publish a new version of the gem
<jason479> can i update a gem ?
<havenwood> yes
<jason479> ok !
<jason479> Now i want to use this gem, writing a script, i will need each time type : OpenBSDHelper::ModuleName.method ...
<jason479> can i remove the root name (OpenBSDHelper) ?
<jason479> to get a better readable script
<havenwood> jason479: Yes, You can make it so you can: include OpenBSDHelper
<havenwood> jason479: Then: Needs.method
<havenwood> jason479: It *just works* like that ^
AJA4350 has quit [Ping timeout: 246 seconds]
reber has joined #ruby
maryo has quit [Read error: Connection reset by peer]
maryo has joined #ruby
namkeen has quit [Quit: Leaving]
Tharbakim has joined #ruby
<jason479> thank you so much havenwood
jason479 has quit [Quit: Page closed]
blackmesa1 has joined #ruby
ravenousmoose is now known as ravenousmoose[aw
ravenousmoose[aw has quit [Quit: Taking a quick nap...ZZzzz]
reber has quit [Remote host closed the connection]
jason479 has joined #ruby
<jason479> havenwood: still there ?
<jason479> so the module will live in lib/open_bsd_helper
<jason479> but regarding the main file lib/open_bsd_helper.rb it will be also a module, yes ?
nfk has joined #ruby
paulscoder has joined #ruby
ravenousmoose has joined #ruby
renich has quit [Ping timeout: 268 seconds]
<phaul> jason479: you can create a directory structure that follows module nesting. lib/open_bsd_helper/needs.rb in this case. Whether you have a lib/open_bsd_helper.rb or not can depend on if there is any code going in there. Just for empty modules you don't have to create the source file
jason479 has quit [Ping timeout: 256 seconds]
<phaul> ah. they just left
<KindOna> never lucky
<phaul> never :)
jottr has quit [Quit: WeeChat 2.3]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cnsvc has joined #ruby
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
deathwishdave has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4350 has joined #ruby
sgen has quit [Ping timeout: 268 seconds]
[Butch] has joined #ruby
liya has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
[Butch] has quit [Client Quit]
dionysus70 has quit [Ping timeout: 250 seconds]
sgen has joined #ruby
paulscoder has quit [Quit: paulscoder]
xlegoman_ has joined #ruby
xlegoman has quit [Read error: Connection reset by peer]
xlegoman_ is now known as xlegoman
cnsvc has quit [Remote host closed the connection]
crankharder has joined #ruby
cnsvc has joined #ruby
segy has quit [Ping timeout: 245 seconds]
crankharder has quit [Ping timeout: 240 seconds]
segy has joined #ruby
Emmanuel_Chanel has joined #ruby
ravenousmoose has quit [Quit: Taking a quick nap...ZZzzz]
dviola has joined #ruby
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deathwishdave has joined #ruby
deathwishdave has quit [Client Quit]
AJA4350 has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
bairyn has quit [Ping timeout: 245 seconds]
paulscoder has joined #ruby
Swyper has quit [Ping timeout: 250 seconds]
ByronJohnson has joined #ruby
renich has joined #ruby
dellavg__ has quit [Ping timeout: 250 seconds]
renich has quit [Remote host closed the connection]
i8igmac has joined #ruby
<i8igmac> any tips for reading files on mtp device
AJA4350 has joined #ruby
crankharder has joined #ruby
tdy has joined #ruby
nowhereman has joined #ruby
nowhere_man has quit [Read error: Connection reset by peer]
cnsvc has quit [Remote host closed the connection]
ByronJohnson has quit [Ping timeout: 250 seconds]
Fernando-Basso has quit [Remote host closed the connection]
ByronJohnson has joined #ruby
Dbugger has quit [Ping timeout: 240 seconds]
Tharbakim has quit [Ping timeout: 246 seconds]
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
leah2 has quit [Ping timeout: 264 seconds]
mistergibson has joined #ruby
orbyt_ has joined #ruby
crankharder has quit [Ping timeout: 245 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
leah2 has joined #ruby
mistergibson has quit [Quit: Leaving]
crankharder has joined #ruby
Nicmavr has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
bmurt has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
i8igmac has quit [Remote host closed the connection]
cnsvc has joined #ruby
<phaul> Net: I read the code on RSpec lets. The anwer to whether lets are re-defined if defined in sub-contexts is yes. But technically that's not how they work.
nchambers has joined #ruby
<phaul> They achieve lazy and one time evaluation of let. Only lets that are needed for each example are run and only once. They are reset per examples.
Tharbakim has joined #ruby
paulscoder has quit [Quit: paulscoder]
postmodern has joined #ruby
<phaul> they are methods, and the block is used in define_method. Sub-contexting also means inheritance so sub-describe let would shadow parents method. I beleive calling super should work to get the outer let value.