Sha256: acc554e4910e11adcaca01f286e8d084f181b15989725e4f2784a7c040edd6bd
Contents?: true
Size: 430 Bytes
Versions: 12
Compression:
Stored size: 430 Bytes
Contents
# frozen_string_literal: true module Grumlin module Shortcuts module Properties extend Grumlin::Shortcuts shortcut :props do |*_args, **props| props.reduce(self) do |tt, (prop, value)| tt.property(prop, value) end end shortcut :hasAll do |*, **props| props.reduce(self) do |tt, (prop, value)| tt.has(prop, value) end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems