forgeplus/app/queries/application_query.rb

9 lines
122 B
Ruby
Raw Normal View History

2020-03-09 00:40:16 +08:00
class ApplicationQuery
include Callable
private
def strip_param(key)
params[key].to_s.strip.presence
end
end