Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/dictionary-rb/string_patch.rb

Instance Method Summary collapse

Instance Method Details

#respond_to?(method) ⇒ Boolean

Returns:

  • (Boolean)


18
19
20
# 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