jeremyevans/roda

Envrionments plugin: provide instance methods too?

Closed this issue · 1 comments

Especially useful with, say, assets plugin for:

route do |r|
    r.assets if production?
end

I'm on the fence about this. If you would like it added, please open a thread on the Google Group and see what the community thinks about the idea. Such methods are easy to define yourself, or you can just use self.class.production?.

I'm going to close this now as it is not a bug in Roda. As the contribution guidelines state, GitHub Issues is only supposed to be used for bug reports. Questions about Roda and feature requests should be posted on the Google Group.