Project

tags

0.0
No commit activity in last 3 years
No release in over 3 years
A Ruby object with the behavior of a list of tags.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.8
 Project Readme

Tags

A Ruby object that acts like a set of tags.

Examples

tags = Tags.new("one, two, three")

tags - Tags.new("one, three")
# Tags.new("two")

tags + Tags.new("three, four, five")
# Tags.new("one, two, three, four, five")

tags.to_s
# "one, two, three"

tags.to_a
# ["one", "two", "three"]

# see the tests for more examples