Sha256: 82046125b95d70fc594bd1b473388439560c1ffb7decbfa89b0e540028d824f6
Contents?: true
Size: 267 Bytes
Versions: 6
Compression:
Stored size: 267 Bytes
Contents
module Highrise class Tag < Base def ==(object) (object.instance_of?(self.class) && object.id == self.id && object.name == self.name) end def self.delete_by_name(name) tag = find_by_name(name) tag.destroy if tag end end end
Version data entries
6 entries across 6 versions & 1 rubygems