Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 244aa8e808
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (18 sloc) 0.326 kB
class BenString < String
VERSION = '1.1.0'
class << self
public
def in_use?
counts = Hash.new(0)
ObjectSpace.each_object { |o| counts[o.class] += 1 }
counts[self] > 0
end
end
public
def to_bool()
!!self
end
def to_ben_s()
return self
end
end
Jump to Line
Something went wrong with that request. Please try again.