Class: Controls::Guidance::Reference

Inherits:
Dish::Plate
  • Object
show all
Defined in:
lib/controls/objects/guidance/reference.rb

Overview

A object that represents the reference resource of a Controls::Guidance

Instance Method Summary collapse

Instance Method Details

#to_sString

Represents the guidance collection in a human friendly way

Returns:

  • (String)

    a string representing a guidance collection



10
11
12
# File 'lib/controls/objects/guidance/reference.rb', line 10

def to_s
  url ? "#{title}: (#{url})" : title
end