class Symbol

Extensions to the Symbol class.

Public Instance Methods

to_instance_variable_name() click to toggle source

Return a duplicate of the symbol in a format ready to dynamically generate an instance variable.

# File lib/aastdlib/symbol.rb, line 6
def to_instance_variable_name

        return self.to_s.to_instance_variable_name

end
to_ivar_label() click to toggle source

Convenience method for to_instance_variable_name()

# File lib/aastdlib/symbol.rb, line 13
def to_ivar_label()

    return self.to_instance_variable_name()

end