Registry / utility / fat-core

fat-core

JSON →
library7.2.0rbrubygemsunverified

Useful extensions to Enumerable, String, Range, and other Ruby core classes.

gem install fat_core
INSTALL
IMPORT
SIG · FAT-CORE
F
fat-core
utilityrubyv7.2.0
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.

FatCore
require 'fat_core'

Use each_with_flags to detect first and last items in an iteration.

require 'fat_core' [1, 2, 3].each_with_flags do |item, first, last| puts "#{first ? 'First: ' : ''}#{item}#{last ? ' (last)' : ''}" end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
7.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
fat-core — gem install fat-core · libregistry