Sha256: 5c963995ac70485b5c138a31458644c6209db8014bebadfed125c2e925ccb01e
Contents?: true
Size: 171 Bytes
Versions: 12
Compression:
Stored size: 171 Bytes
Contents
class Symbol def plain? c = to_s[-1,1] !(c == '=' || c == '?') end def setter? to_s[-1,1] == '=' end def query? to_s[-1,1] == '?' end end
Version data entries
12 entries across 12 versions & 2 rubygems