# File lib/licensee/license.rb, line 15 def all(options = {}) options = { hidden: false, featured: nil }.merge(options) output = licenses.dup output.reject!(&:hidden?) unless options[:hidden] return output if options[:featured].nil? output.select { |l| l.featured? == options[:featured] } end