var search_data = {"index":{"searchIndex":["alimento","alimento","grupoalimentos","lista","<=>()","aibc()","each()","head()","head_out()","if0()","ig()","ig_ind()","insert()","kcal()","new()","new()","new()","tail()","tail_out()","to_s()","to_s()","code_of_conduct","gemfile","gemfile.lock","guardfile","license","readme","rakefile","alimento.gemspec","setup","alimento.html","alimento.html","grupoalimentos.html","lista.html","nodo.html","_index.html","class_list.html","common.css","full_list.css","style.css","file.readme.html","file_list.html","frames.html","index.html","app.js","full_list.js","jquery.js","method_list.html","top-level-namespace.html"],"longSearchIndex":["alimento","alimento::alimento","alimento::grupoalimentos","alimento::lista","alimento::alimento#<=>()","alimento::alimento#aibc()","alimento::lista#each()","alimento::lista#head()","alimento::lista#head_out()","alimento::alimento#if0()","alimento::alimento#ig()","alimento::alimento#ig_ind()","alimento::lista#insert()","alimento::alimento#kcal()","alimento::alimento::new()","alimento::grupoalimentos::new()","alimento::lista::new()","alimento::lista#tail()","alimento::lista#tail_out()","alimento::alimento#to_s()","alimento::grupoalimentos#to_s()","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"info":[["Alimento","","Alimento.html","","
encoding: utf-8 Módulo creado para representar un Alimento y sus nutrientes\npara las prácticas de Lenguajes …\n"],["Alimento::Alimento","","Alimento/Alimento.html","","
Esta clase representa a un alimento con sus nutrientes Se ha incluido el\nmixin Comparable\n"],["Alimento::GrupoAlimentos","","Alimento/GrupoAlimentos.html","","
Clase que hereda de alimento, extendiéndola, añadiéndole el nombre del\ngrupo de alimentos al que pertenece …\n"],["Alimento::Lista","","Alimento/Lista.html","","
Clase que representa a una lista doblemente enlazada Se ha incluido el\nmixin Enumerable\n"],["<=>","Alimento::Alimento","Alimento/Alimento.html#method-i-3C-3D-3E","(other)","
Pa incluir el mixin Comparable se utiliza el valor energético\n"],["aibc","Alimento::Alimento","Alimento/Alimento.html#method-i-aibc","(g)","
Recibe un vector con los datos de un alimento para los individuos, devuelve\nun vector con los AIBC de …\n"],["each","Alimento::Lista","Alimento/Lista.html#method-i-each","()","
Se incluye el método del mixin Enumerable Se define como una iteración\nsobre los valores de cada nodod …\n"],["head","Alimento::Lista","Alimento/Lista.html#method-i-head","()","
Getter/Setter de @head\n"],["head_out","Alimento::Lista","Alimento/Lista.html#method-i-head_out","()","
Método que extrae/elimina el primer valor de la lista\n"],["if0","Alimento::Alimento","Alimento/Alimento.html#method-i-if0","(gij, g0, gi1)","
Método auxiliar para hacer el if de la función aibc\n"],["ig","Alimento::Alimento","Alimento/Alimento.html#method-i-ig","()","
Calcula el IG del alimento haciendo la media con los IG de los individuos\n"],["ig_ind","Alimento::Alimento","Alimento/Alimento.html#method-i-ig_ind","()","
Calcula los AIBC de los datos del alimento y los divide entre los AIBC de\nlos datos de la glucosa Devolviendo …\n"],["insert","Alimento::Lista","Alimento/Lista.html#method-i-insert","(nodo)","
Método que inserta un nodo en la cabeza de la lista\n"],["kcal","Alimento::Alimento","Alimento/Alimento.html#method-i-kcal","()","
Devuelve el valor energético del alimento según sus nutrientes\n"],["new","Alimento::Alimento","Alimento/Alimento.html#method-c-new","(nombre, proteinas, glucidos, lipidos, datos)","
Se asignan todas las variables de la clase\n"],["new","Alimento::GrupoAlimentos","Alimento/GrupoAlimentos.html#method-c-new","(nombre, proteinas, glucidos, lipidos, datos, grupo)","
Se llama al contructor de la clase madre y se asigna el valor de la nueva\nvariable\n"],["new","Alimento::Lista","Alimento/Lista.html#method-c-new","(head, tail)","
Se asignan la cabeza (@head) y la cola (@tail) y se enlazan\n"],["tail","Alimento::Lista","Alimento/Lista.html#method-i-tail","()","
Getter/Setter de @tail\n"],["tail_out","Alimento::Lista","Alimento/Lista.html#method-i-tail_out","()","
Método que extrae/elimina el último valor de la lista\n"],["to_s","Alimento::Alimento","Alimento/Alimento.html#method-i-to_s","()","
Devuelve el alimento formateado\n"],["to_s","Alimento::GrupoAlimentos","Alimento/GrupoAlimentos.html#method-i-to_s","()","
Devuelve el Alimento formateado añadiéndole el nombre del grupo\n"],["CODE_OF_CONDUCT","","CODE_OF_CONDUCT_md.html","","
Contributor Covenant Code of Conduct\n
Our Pledge\n
In the interest of fostering an open and welcoming environment, …\n"],["Gemfile","","Gemfile.html","","
source “rubygems.org”\n
git_source(:github) {|repo_name| “github.com/#{repo_name}” } …\n"],["Gemfile.lock","","Gemfile_lock.html","","
PATH\n\n
remote: .\nspecs:\n alimento (0.1.0)\n
GEM\n"],["Guardfile","","Guardfile.html","","
# A sample Guardfile # More info at github.com/guard/guard#readme\n
## Uncomment and set this to only include …\n"],["LICENSE","","LICENSE_txt.html","","
The MIT License (MIT)\n
Copyright © 2017 deivbbmd\n
Permission is hereby granted, free of charge, to any …\n"],["README","","README_md.html","","
Alimento\n
Welcome to your new gem! In this directory, you'll find the files you\nneed to be able to …\n"],["Rakefile","","Rakefile.html","","
require “bundler/gem_tasks” require “rspec/core/rake_task”\n
RSpec::Core::RakeTask.new …\n"],["alimento.gemspec","","alimento_gemspec.html","","
lib = File.expand_path(“../lib”, __FILE__) $LOAD_PATH.unshift(lib) unless\n$LOAD_PATH.include?(lib) …\n"],["setup","","bin/setup.html","","
#!/usr/bin/env bash set -euo pipefail IFS=$'nt' set -vx\n
bundle install\n
# Do any other automated …\n"],["Alimento.html","","docs/Alimento_html.html","","
<!DOCTYPE html> <html>\n\n
<head>\n <meta charset="utf-8">\n
<meta name=“viewport” content=“width=device-width, …\n"],["Alimento.html","","docs/Alimento/Alimento_html.html","","
<!DOCTYPE html> <html>\n\n
<head>\n <meta charset="utf-8">\n
<meta name=“viewport” content=“width=device-width, …\n"],["GrupoAlimentos.html","","docs/Alimento/GrupoAlimentos_html.html","","
<!DOCTYPE html> <html>\n\n
<head>\n <meta charset="utf-8">\n
<meta name=“viewport” content=“width=device-width, …\n"],["Lista.html","","docs/Alimento/Lista_html.html","","
<!DOCTYPE html> <html>\n\n
<head>\n <meta charset="utf-8">\n
<meta name=“viewport” content=“width=device-width, …\n"],["Nodo.html","","docs/Alimento/Nodo_html.html","","
<!DOCTYPE html> <html>\n\n
<head>\n <meta charset="utf-8">\n
<meta name=“viewport” content=“width=device-width, …\n"],["_index.html","","docs/_index_html.html","","
<!DOCTYPE html> <html>\n\n
<head>\n <meta charset="utf-8">\n
<meta name=“viewport” content=“width=device-width, …\n"],["class_list.html","","docs/class_list_html.html","","
<!DOCTYPE html> <html>\n\n
<head>\n <meta name="viewport" content="width=device-width, initial-scale=1.0"> ...\n"],["common.css","","docs/css/common_css.html","","
Override this file with custom rules\n"],["full_list.css","","docs/css/full_list_css.html","","
body {\n\n
margin: 0;\nfont-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;\nfont-size: ...\n"],["style.css","","docs/css/style_css.html","","
html {\n\n
width: 100%;\nheight: 100%;\n
} body {\n"],["file.README.html","","docs/file_README_html.html","","
<!DOCTYPE html> <html>\n\n
<head>\n <meta charset="UTF-8">\n
<meta name=“viewport” content=“width=device-width, …\n"],["file_list.html","","docs/file_list_html.html","","
<!DOCTYPE html> <html>\n\n
<head>\n <meta name="viewport" content="width=device-width, initial-scale=1.0"> ...\n"],["frames.html","","docs/frames_html.html","","
<!DOCTYPE html> <html> <head>\n\n
<meta charset="utf-8">\n <title>Documentation by YARD ...\n"],["index.html","","docs/index_html.html","","
<!DOCTYPE html> <html>\n\n
<head>\n <meta charset="UTF-8">\n
<meta name=“viewport” content=“width=device-width, …\n"],["app.js","","docs/js/app_js.html","","
(function() {\n
var localStorage = {}, sessionStorage = {}; try { localStorage =\nwindow.localStorage; } …\n"],["full_list.js","","docs/js/full_list_js.html","","
(function() {\n
var $clicked = $(null); var searchTimeout = null; var searchCache = []; var\ncaseSensitiveMatch …\n"],["jquery.js","","docs/js/jquery_js.html","","\n
! jQuery v1.7.1 jquery.com | jquery.org/license\n
(function(a,b){function cy(a){return\nf.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function …\n"],["method_list.html","","docs/method_list_html.html","","
<!DOCTYPE html> <html>\n\n
<head>\n <meta name="viewport" content="width=device-width, initial-scale=1.0"> ...\n"],["top-level-namespace.html","","docs/top-level-namespace_html.html","","
<!DOCTYPE html> <html>\n\n
<head>\n <meta charset="utf-8">\n
<meta name=“viewport” content=“width=device-width, …\n"]]}}