ckdake/setler

Match Settings via predicates

Opened this issue · 0 comments

Given a setting Settings.show_shiny_badges it would be awesome to be able to query them as predicates via something like Settings.show_shiny_badges? which doesn't appear to currently be a thing. In this case it would simply return the truthiness of the value but it may still add some value and read like idiomatic Ruby while we're at it?

Thoughts?