Class: Identificamex::Nombre::RazonSocial
- Inherits:
-
Object
- Object
- Identificamex::Nombre::RazonSocial
show all
- Includes:
- Mayusculas
- Defined in:
- lib/identificamex/nombre/razon_social.rb
Instance Method Summary
collapse
Methods included from Mayusculas
#hash_vocales, #mayusculas
Constructor Details
#initialize(razon_social) ⇒ RazonSocial
Returns a new instance of RazonSocial.
7
8
9
|
# File 'lib/identificamex/nombre/razon_social.rb', line 7
def initialize(razon_social)
@razon_social = normalizar(razon_social)
end
|
Instance Method Details
#siglas ⇒ Object
11
12
13
|
# File 'lib/identificamex/nombre/razon_social.rb', line 11
def siglas
tres_letras_de_razon_social
end
|
#to_s ⇒ Object
15
16
17
|
# File 'lib/identificamex/nombre/razon_social.rb', line 15
def to_s
@razon_social
end
|