Class: TheFreeDictionary::Spanish

Inherits:
Dictionary show all
Defined in:
lib/the_free_dictionary/spanish.rb

Instance Attribute Summary

Attributes inherited from Dictionary

#language, #region

Instance Method Summary collapse

Methods inherited from Dictionary

#find

Constructor Details

#initializeSpanish

Returns a new instance of Spanish.



5
6
7
8
# File 'lib/the_free_dictionary/spanish.rb', line 5

def initialize
  @language = 'es'
  @region = /(EU|LA)/
end