Method: Cosmos::GenericConversion#to_s

Defined in:
lib/cosmos/conversions/generic_conversion.rb

#to_sString

Returns The conversion class followed by the code to evaluate.

Returns:

  • (String)

    The conversion class followed by the code to evaluate



57
58
59
# File 'lib/cosmos/conversions/generic_conversion.rb', line 57

def to_s
  "#{@code_to_eval}"
end