Sha256: 005f7651d31f6c36af173ca0537c0b6b42e3ec469eac6449c79b72b86d526776
Contents?: true
Size: 260 Bytes
Versions: 62
Compression:
Stored size: 260 Bytes
Contents
class Symbol # Will take the current symbol and append an "=" to the end of it. # So :bacon will become :bacon=. It is assumed that this would be # passed to Object#send to set the value of something def to_setter (self.to_s + '=').to_sym end end
Version data entries
62 entries across 62 versions & 1 rubygems
Version | Path |
---|---|
health-data-standards-0.7.0 | lib/health-data-standards/ext/symbol.rb |
health-data-standards-0.5.0 | lib/health-data-standards/ext/symbol.rb |