Method: Origin::Key#to_s

Defined in:
lib/origin/key.rb

#to_sString

Convert the key to a string.

Examples:

Convert the key to a string.

key.to_s

Returns:

  • (String)

    The key as a string.

Since:

  • 1.1.0



95
96
97
# File 'lib/origin/key.rb', line 95

def to_s
  @name.to_s
end