Name
Guillermo Hernández González
Email
alu0101121529@ull.edu.es
Grupo
103 (13:00-14:00)
Resumen
Se nos piden crear listas de dietas, formadas por diferentes platos y comparar las dietas usando los módulos comparable y enumerable.
Para hacer esto también necesitamos hacer una clase BasicPlato y otra Plato para meterlos en las listas.
Travis
Link para el directorio en travis https://travis-ci.com/alu0101121529/lpp_travis_p10
Árbol de directorios
.
├── CODE_OF_CONDUCT.md
├── Gemfile
├── Gemfile.lock
├── Guardfile
├── LICENSE.txt
├── README.md
├── Rakefile
├── bin
│ ├── console
│ └── setup
├── doc
│ ├── Alimento.html
│ ├── BasicPlato.html
│ ├── List.html
│ ├── Node.html
│ ├── P6
│ │ └── Error.html
│ ├── P6.html
│ ├── Plato.html
│ ├── _index.html
│ ├── class_list.html
│ ├── css
│ │ ├── common.css
│ │ ├── full_list.css
│ │ └── style.css
│ ├── file.README.html
│ ├── file_list.html
│ ├── frames.html
│ ├── index.html
│ ├── js
│ │ ├── app.js
│ │ ├── full_list.js
│ │ └── jquery.js
│ ├── method_list.html
│ └── top-level-namespace.html
├── lib
│ ├── p6
│ │ ├── basicplato.rb
│ │ ├── list.rb
│ │ ├── menu.rb
│ │ ├── p6.rb
│ │ └── version.rb
│ └── p6.rb
├── p6.gemspec
├── pkg
│ └── p6-0.1.0.gem
├── spec
│ ├── p6_spec.rb
│ └── spec_helper.rb
├── tmp
Installation
Add this line to your application's Gemfile:
gem 'p6'
And then execute:
$ bundle
Or install it yourself as:
$ gem install p6
Development
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Contributing
Bug reports and pull requests are welcome on GitHub. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the P6 project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.