{"id":22981002,"url":"https://github.com/rubyworks/strmask","last_synced_at":"2025-04-02T09:42:03.803Z","repository":{"id":820390,"uuid":"532903","full_name":"rubyworks/strmask","owner":"rubyworks","description":"String::Mask provides a kind-of String Algebra","archived":false,"fork":false,"pushed_at":"2012-11-30T17:14:44.000Z","size":340,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T05:18:54.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://rubyworks.github.com/strmask","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rubyworks.png","metadata":{"files":{"readme":"README.rdoc","changelog":"HISTORY.rdoc","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-02-23T22:28:56.000Z","updated_at":"2012-12-14T01:29:49.000Z","dependencies_parsed_at":"2022-08-16T11:00:45.490Z","dependency_job_id":null,"html_url":"https://github.com/rubyworks/strmask","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fstrmask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fstrmask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fstrmask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fstrmask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubyworks","download_url":"https://codeload.github.com/rubyworks/strmask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246793032,"owners_count":20834921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-15T01:46:37.102Z","updated_at":"2025-04-02T09:42:03.772Z","avatar_url":"https://github.com/rubyworks.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= String::Mask\n\n{Homepage}[http://rubyworks.github.com/strmask] |\n{Source Code}[http://github.com/rubyworks/strmask]\n\n{\u003cimg src=\"http://travis-ci.org/rubyworks/strmask.png\" /\u003e}[http://travis-ci.org/rubyworks/strmask]\n\n\n== DESCRIPTION\n\nMask provides a string utility to manipulate strings\nin logicomathematical manner, ie. add, subtract, xor,\netc.\n\n\n== SYNOPSIS\n\nMask objects can be created explicitly via #new.\n\n  m1 = String::Mask.new(\"abc..123\", '.')\n  m2 = String::Mask.new(\"ab..789.\", '.')\n  m1 - m2                             #=\u003e \"....789.\"\n\nBut the String#mask extension is much easier to use.\n\n  m1 = \"abc..123\".mask('.')\n  m2 = \"ab..789.\".mask('.')\n  m1 * m2                             #=\u003e \"ab..789.\"\n\nThe second operand can be a normal String. Mask will assume\nit repesents another mask akin to the first.\n\n  \"abc..123\".mask('.') + \"ab..789.\"   #=\u003e \"abc.7893\"\n\n\n== INSTALL\n\nTo install with RubyGems simply open a console and type:\n\n  $ gem install strmask\n\n\n== COPYRIGHTS\n\nCopyright (c) 2009 Thomas Sawyer, Rubyworks\n\nThis program is ditributed unser the terms of the *FreeBSD* license.\n\nSee the NOTICE.rdoc file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyworks%2Fstrmask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyworks%2Fstrmask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyworks%2Fstrmask/lists"}