class DictClient::WordDefinitions::WordDefinition
Constants
- BAR
Public Instance Methods
to_s(n = nil)
click to toggle source
# File lib/dict_client/responses.rb, line 122 def to_s(n = nil) (n.nil? ? '' : "#{n}) ") + "#{dictionary_name} (#{dictionary_description}): #{word}\n" + BAR + definition + BAR end