1
0
Fork 0
forked from OpenNeo/impress
impress/app/models/item
Matchu 015010345a Extract Dyeworks methods into Item::Dyeworks module
There's just starting to be a lot going on, so I pulled them out into
here!

I also considered a like, `Item::DyeworksStatus` class, and then you'd
go like, `item.dyeworks.buyable?`. But idk, I think it's nice that the
current API is simple for callers, and being able to do things like
`items.filter(&:dyeworks_buyable?)` is pretty darn convenient.

This solution lets us keep the increasing number of Dyeworks methods
from polluting the main `item.rb`, while still keeping the API
identical!
2024-06-18 15:21:43 -07:00
..
search Use fits:nostalgic-faerie-draik filter format when we can 2024-02-27 15:51:27 -08:00
dyeworks.rb Extract Dyeworks methods into Item::Dyeworks module 2024-06-18 15:21:43 -07:00
search.rb globalized search first draft 2013-01-24 18:24:35 -06:00