This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TriangleEq < Figure | |
attr_accessor :side | |
def protegido_publico | |
protegido | |
end | |
def metodo_publico | |
super | |
puts "No hizo la llamada a los metodos" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Figure | |
attr_accessor :stroke, :fill | |
def metodo_publico | |
secreto | |
protegido | |
end | |
# Metodo de clase | |
def self.metodo_estatico |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Persona | |
# Es un atajo para un metodo de lectura y escritura | |
attr_accessor :nacionalidad | |
attr_reader :apellido | |
attr_writer :name | |
# Es el constructor o metodo inicial | |
def initialize(nombre, apellido, nacionalidad) | |
# variables de instancia |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="col-md-9"> | |
<div class="accordion accordion-flush mt-4" id="accordionExample"> | |
<div class="accordion-item"> | |
<h2 class="accordion-header"> | |
<button class="accordion-button text-dark p-4" style="background-color: #eeebe2" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> | |
<h2 style="color: #58523d">Nuestra historia</h2> | |
</button> | |
</h2> | |
<div id="collapseOne" class="accordion-collapse collapse border-0" data-bs-parent="#accordionExample"> | |
<div class="accordion-body" style="background-color: #f5f3ec"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
req_orig = {"utf8"=>"✓", "authenticity_token"=>"6YUopK+MDiOnpZ3KUK+vwSRTBN+Ujc1Vw7JrrCXjKutNm1MdBQEU6QSA8dfFsZNyL4vJGYVu5+Hwsf0E3HEIKg==", "fichas_taxon"=>{"tipoficha"=>"Prioritaria", "IdCAT"=>"20361REPTI", "resumenEspecie"=>"<p class=\"MsoNormal\" style=\"text-align: justify;\"><em><span style=\"font-size: 12pt; line-height: 115%; font-family: Arial, sans-serif;\">Agama agama</span></em><span style=\"font-size: 12pt; line-height: 115%; font-family: Arial, sans-serif;\"> sirve como transporte y huésped reservorio de <em>Raillietiella sp.</em> (Nash, 2005 citado por Adeoye & Ogunbanwo, 2007), el virus del herpes (Watson, 1993) y la salmonelosis (Collard <em>et al</em>., 1957), los cuales pueden infectar al hombre.2</span></p>", "descEspecie"=>"<p class=\"MsoNormal\" style=\"text-align: justify;\"><span style=\"font-size: 12pt; line-height: 115%; font-family: Arial, sans-serif;\">Se caracteriza por su dorso blanquecino, las extremidades traseras son de color marrón y la cola con una raya liger |