- Mordor Fed.
-
22:28
(UTC +03:00) - https://soundcloud.com/estum
- @estum_a
Pinned Loading
-
-
-
yieldable.rb: Memoized #to_proc for ...
yieldable.rb: Memoized #to_proc for any callable object to use as a block argument with the "&" operator. 1# This module can be used to easy make callable object or class
2# to be used as a block argument with the <tt>&</tt> operator. It just
3# implements the +to_proc+ method.
4#
5# == Examples:
-
ActiveRecord's JOIN clause string wr...
ActiveRecord's JOIN clause string wrapper class 1# frozen_string_literal: true
23class Joint < String
4_patterns = [[/LATERAL$/, 'ON true'], [/^(?:NATURAL|CROSS)/, '']].deep_freeze!
5_exception = "expected one non-blank argument of `on' or `using' unless type matches one of: #{_patterns.map(&:first).inspect}"
-
Map
Map 1# frozen_string_literal: true
23require 'concurrent/map'
45# {include:file:concurrent/map.rb}
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.