Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
= String::Mask
{Homepage}[http://rubyworks.github.com/strmask] | {Source Code}[http://github.com/rubyworks/strmask]
{}[http://travis-ci.org/rubyworks/strmask]
== DESCRIPTION
Mask provides a string utility to manipulate strings in logicomathematical manner, ie. add, subtract, xor, etc.
== SYNOPSIS
Mask objects can be created explicitly via #new.
m1 = String::Mask.new("abc..123", '.') m2 = String::Mask.new("ab..789.", '.') m1 - m2 #=> "....789."
But the String#mask extension is much easier to use.
m1 = "abc..123".mask('.') m2 = "ab..789.".mask('.') m1 * m2 #=> "ab..789."
The second operand can be a normal String. Mask will assume it repesents another mask akin to the first.
"abc..123".mask('.') + "ab..789." #=> "abc.7893"
== INSTALL
To install with RubyGems simply open a console and type:
$ gem install strmask
== COPYRIGHTS
Copyright (c) 2009 Thomas Sawyer, Rubyworks
This program is ditributed unser the terms of the FreeBSD license.
See the NOTICE.rdoc file for details.
FAQs
Unknown package
We found that strmask demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.