class String
Public Instance Methods
respond_to?(method)
click to toggle source
Calls superclass method
# File lib/dictionary-rb/string_patch.rb, line 18 def respond_to?(method) %w(meaning urban_meaning to_urban to_dictionary to_word).include?(method) || super end
to_word()
click to toggle source
# File lib/dictionary-rb/string_patch.rb, line 13 def to_word DictionaryRB::Word.new(self) end