ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ics has joined #nanoc
ics has quit [Ping timeout: 260 seconds]
ics has joined #nanoc
Okt has joined #nanoc
Okt has left #nanoc [#nanoc]
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ics has joined #nanoc
alerante has quit [Remote host closed the connection]
utkarsh has quit [Ping timeout: 265 seconds]
smkelly has quit [Ping timeout: 245 seconds]
utkarsh has joined #nanoc
smkelly has joined #nanoc
utkarsh has quit [Changing host]
utkarsh has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 245 seconds]
mro_ has joined #nanoc
ics has quit [Ping timeout: 252 seconds]
ics has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 250 seconds]
smkelly has quit [Ping timeout: 252 seconds]
antognolli has quit [Ping timeout: 265 seconds]
smkelly has joined #nanoc
utkarsh has joined #nanoc
antognolli has joined #nanoc
relix has joined #nanoc
mro_ has quit [Quit: Lost terminal]
alerante has joined #nanoc
alerante has quit [Ping timeout: 265 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
VitamineD has quit [Quit: VitamineD]
relix has joined #nanoc
VitamineD has joined #nanoc
alerante has joined #nanoc
mro_ has joined #nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #nanoc
VitamineD has quit [Ping timeout: 250 seconds]
VitamineD has joined #nanoc
mro_ has quit [Quit: leaving]
<
VitamineD>
!tell mro_ would be cleaner to do a pass at preprocess time
<
number-six>
VitamineD: I'll pass that on when I see mro_ here.
<
bobthecow>
!tell mro_ or even add a method for getting that... def date; self[:date] || date_from_post_path; end
<
number-six>
bobthecow: I'll pass that on when I see mro_ here.
<
bobthecow>
!tell number-six thanks!
<
number-six>
bobthecow: I'll pass that on when I see number-six here.
<
VitamineD>
number-six: you're not very clever, are you?
<
bobthecow>
!tell number-six lulz.
<
number-six>
bobthecow: I'll pass that on when I see number-six here.
<
bobthecow>
aww. i was hoping he'd tell himself now that he said something else :)
<
ddfreyne>
That is not how it works!
<
bobthecow>
ddfreyne: how does it work then?
<
bobthecow>
!tell ddfreyne that's how it works with other bots :)
<
number-six>
bobthecow: I'll pass that on when I see ddfreyne here.
<
bobthecow>
well, except for the telling themselves things part.
<
number-six>
ddfreyne: bobthecow (3 minutes ago): that's how it works with other bots :)
<
ddfreyne>
My personal preference is to define helper functions not on objects.
<
ddfreyne>
Also, in nanoc 4.x, @item will no longer be a Nanoc::Item instance but rather an object representing it
<
VitamineD>
an object representing an item… isn't than an item ?
<
bobthecow>
VitamineD: a facade. a proxy.
Jutah has quit [*.net *.split]
Jutah has joined #nanoc
<
ddfreyne>
VitamineD: What bobthecow said. The proxy/facade/wrapper/view does the dependency tracking, hides private methods like #attributes etc
<
ddfreyne>
Which is both cleaner (dependency generation is separated into another object) and safer (#attributes is not accessible)
louquillio_ has quit [Remote host closed the connection]
louquillio_ has joined #nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mro_ has joined #nanoc
<
mro_>
thx VitamineD - I'll give the preprocess a try.
<
number-six>
mro_: VitamineD (4 hours ago): would be cleaner to do a pass at preprocess time
<
number-six>
mro_: bobthecow (4 hours ago): or even add a method for getting that... def date; self[:date] || date_from_post_path; end
mro_ has quit [Quit: leaving]