Method: MdnQuery::Entry#to_s

Defined in:
lib/mdn_query/entry.rb

#to_sString

Returns the string representation of the entry.

Returns:

  • (String)


23
24
25
# File 'lib/mdn_query/entry.rb', line 23

def to_s
  "#{title}\n#{description}\n#{url}"
end