Sha256: f1838deff704bfe5d1a40f1f834485ab88322811823908ab596b869459844d5c
Contents?: true
Size: 571 Bytes
Versions: 2
Compression:
Stored size: 571 Bytes
Contents
# frozen_string_literal: true # Run typeprofiler: # # typeprof -Ilib sig/typeprof.rb require "rubanok" processor = Class.new(Rubanok::Processor) do map :q do |q:| raw end process :filter do map :status do |status:| raw end map :name do |name:| raw end end match :sort_by, :sort, activate_on: :sort_by do having "status", "asc" do raw end default do |sort_by:, sort: "asc"| raw end end end processor.project({q: "search", sort_by: "name"}) processor.call([], {q: "search", sort_by: "name"})
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubanok-0.5.1 | sig/typeprof.rb |
rubanok-0.5.0 | sig/typeprof.rb |