Registry / utility / fastandand

fastandand

JSON →
library1.0.1rbrubygemsunverified

Implements the basic case use of AndAnd (nicer API for #try) with improved performance.

gem install fastandand
INSTALL
IMPORT
SIG · FASTANDAND
F
fastandand
utilityrubyv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FastAndAnd
require 'fastandand'

Use the andand method to safely call a method on a possibly nil object.

require 'fastandand' obj = nil result = obj.andand { |o| o.some_method }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
fastandand — gem install fastandand · libregistry