class Symbol

Public Instance Methods

to_setter() click to toggle source

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

# File lib/health-data-standards/ext/symbol.rb, line 5
def to_setter
  (self.to_s + '=').to_sym
end