pueri 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitattributes +194 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.github/ISSUE_TEMPLATE/user_question.md +14 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +14 -0
- data/.github/config.yml +49 -0
- data/.gitignore +252 -0
- data/.rspec +3 -0
- data/.rubocop.yml +10 -0
- data/.travis.yml +22 -0
- data/CHANGELOG.md +26 -0
- data/CODE-OF-CONDUCT.md +78 -0
- data/CONTRIBUTING.md +22 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +82 -0
- data/LICENSE.md +13 -0
- data/README.md +43 -0
- data/Rakefile +8 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/docs/Pueri.html +231 -0
- data/docs/Pueri/Age.html +600 -0
- data/docs/Pueri/Neuro.html +660 -0
- data/docs/Pueri/Vax.html +698 -0
- data/docs/_index.html +152 -0
- data/docs/class_list.html +51 -0
- data/docs/css/common.css +1 -0
- data/docs/css/full_list.css +58 -0
- data/docs/css/style.css +496 -0
- data/docs/file.README.html +116 -0
- data/docs/file_list.html +56 -0
- data/docs/frames.html +17 -0
- data/docs/index.html +116 -0
- data/docs/js/app.js +303 -0
- data/docs/js/full_list.js +216 -0
- data/docs/js/jquery.js +4 -0
- data/docs/method_list.html +211 -0
- data/docs/top-level-namespace.html +110 -0
- data/lib/pueri.rb +15 -0
- data/lib/pueri/age.rb +161 -0
- data/lib/pueri/neuro.rb +144 -0
- data/lib/pueri/vax.rb +121 -0
- data/lib/pueri/version.rb +17 -0
- data/package.json +16 -0
- data/pueri.gemspec +45 -0
- metadata +163 -0
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.travis.yml
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
sudo: false
|
2
|
+
|
3
|
+
language: ruby
|
4
|
+
rvm:
|
5
|
+
- 2.5.3
|
6
|
+
|
7
|
+
before_install:
|
8
|
+
- gem install bundler -v 2.0.2
|
9
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
10
|
+
- chmod +x ./cc-test-reporter
|
11
|
+
- chmod +x ./bin/console
|
12
|
+
install: bundle install --retry=3
|
13
|
+
|
14
|
+
before_script:
|
15
|
+
- ./cc-test-reporter before-build
|
16
|
+
script:
|
17
|
+
- rubocop
|
18
|
+
- bundle exec rspec spec
|
19
|
+
after_script:
|
20
|
+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
21
|
+
|
22
|
+
cache: bundler
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# [Pueri](https://github.com/Nereare/pueri) Changelog
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
|
+
|
8
|
+
## [Unreleased]
|
9
|
+
|
10
|
+
### Added
|
11
|
+
* Code of Conduct from [Contributor Covenant v1.4.1](https://www.contributor-covenant.org/).
|
12
|
+
* [License](LICENSE.md).
|
13
|
+
* Git metafiles (`.gitignore` and `.gitattributes`).
|
14
|
+
* GitHub templates:
|
15
|
+
- Issues;
|
16
|
+
- Feature request;
|
17
|
+
- User question;
|
18
|
+
- Pull request.
|
19
|
+
* ReadMe file.
|
20
|
+
* Changelog file.
|
21
|
+
* Age calculator, with year, month, and day discrimination, and two formats (short and long).
|
22
|
+
* Vaccine Calendar checker, based on the one from [Brazil's PNI][PNI], 2019.
|
23
|
+
* Neuropsichosocial development, based on [this guide][DNPM] from Unicamp.
|
24
|
+
|
25
|
+
[PNI]: http://www.saude.gov.br/saude-de-a-z/vacinacao/calendario-vacinacao
|
26
|
+
[DNPM]: https://www.fcm.unicamp.br/fcm/neuropediatria-conteudo-didatico/desenvolvimento-neuropsicomotor
|
data/CODE-OF-CONDUCT.md
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to make participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
9
|
+
level of experience, education, socio-economic status, nationality, personal
|
10
|
+
appearance, race, religion, or sexual identity and orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies within all project spaces, and it also applies when
|
49
|
+
an individual is representing the project or its community in public spaces.
|
50
|
+
Examples of representing a project or community include using an official
|
51
|
+
project e-mail address, posting via an official social media account, or acting
|
52
|
+
as an appointed representative at an online or offline event. Representation of
|
53
|
+
a project may be further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at [this email][mail]. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
[mail]: mailto:igorpadoim@gmail.com
|
65
|
+
|
66
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
67
|
+
faith may face temporary or permanent repercussions as determined by other
|
68
|
+
members of the project's leadership.
|
69
|
+
|
70
|
+
## Attribution
|
71
|
+
|
72
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
73
|
+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
74
|
+
|
75
|
+
[homepage]: https://www.contributor-covenant.org
|
76
|
+
|
77
|
+
For answers to common questions about this code of conduct, see
|
78
|
+
https://www.contributor-covenant.org/faq
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# Contributing Guidelines
|
2
|
+
|
3
|
+
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
|
4
|
+
|
5
|
+
Please note we have a [code of conduct](CODE-OF-CONDUCT.md), please follow it in all your interactions with the project.
|
6
|
+
|
7
|
+
## Pull Request Checklist
|
8
|
+
|
9
|
+
Before sending your pull requests, make sure you followed this list.
|
10
|
+
|
11
|
+
1. Read [contributing guidelines](CONTRIBUTING.md).
|
12
|
+
2. Read [Code of Conduct](CODE-OF-CONDUCT.md).
|
13
|
+
3. Increase the version numbers in any examples files, the [package.json file](package.json), and the [Gemspec file](pueri.gemspec) to the new version that this Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
|
14
|
+
4. You may merge the Pull Request in once you have the approval of the project owner.
|
15
|
+
|
16
|
+
## Reporting a Bug & Requesting Features
|
17
|
+
|
18
|
+
For both actions, this project uses GitHub templates, please use the adequate template when either reporting a bug or requesting a new feature.
|
19
|
+
|
20
|
+
## Licensing and copyright
|
21
|
+
|
22
|
+
Please note that accepted contributions are included in the repository and hence added under the same [license](LICENSE.md) as the repository to which it was contributed.
|
data/Gemfile
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
|
5
|
+
gem 'rubocop', '~> 0.75.0', require: false
|
6
|
+
gem 'simplecov', '~> 0.17.1', require: false
|
7
|
+
gem 'yard', '~> 0.9.20', require: false
|
8
|
+
|
9
|
+
# Specify your gem's dependencies in pueri.gemspec
|
10
|
+
gemspec
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
pueri (0.7.0)
|
5
|
+
pastel (~> 0.7.3)
|
6
|
+
tty-table (~> 0.11.0)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
ast (2.4.0)
|
12
|
+
diff-lcs (1.3)
|
13
|
+
docile (1.3.2)
|
14
|
+
equatable (0.6.1)
|
15
|
+
jaro_winkler (1.5.3)
|
16
|
+
json (2.2.0)
|
17
|
+
necromancer (0.5.0)
|
18
|
+
parallel (1.18.0)
|
19
|
+
parser (2.6.5.0)
|
20
|
+
ast (~> 2.4.0)
|
21
|
+
pastel (0.7.3)
|
22
|
+
equatable (~> 0.6)
|
23
|
+
tty-color (~> 0.5)
|
24
|
+
rainbow (3.0.0)
|
25
|
+
rake (13.0.0)
|
26
|
+
rspec (3.9.0)
|
27
|
+
rspec-core (~> 3.9.0)
|
28
|
+
rspec-expectations (~> 3.9.0)
|
29
|
+
rspec-mocks (~> 3.9.0)
|
30
|
+
rspec-core (3.9.0)
|
31
|
+
rspec-support (~> 3.9.0)
|
32
|
+
rspec-expectations (3.9.0)
|
33
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
34
|
+
rspec-support (~> 3.9.0)
|
35
|
+
rspec-mocks (3.9.0)
|
36
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
+
rspec-support (~> 3.9.0)
|
38
|
+
rspec-support (3.9.0)
|
39
|
+
rubocop (0.75.1)
|
40
|
+
jaro_winkler (~> 1.5.1)
|
41
|
+
parallel (~> 1.10)
|
42
|
+
parser (>= 2.6)
|
43
|
+
rainbow (>= 2.2.2, < 4.0)
|
44
|
+
ruby-progressbar (~> 1.7)
|
45
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
46
|
+
ruby-progressbar (1.10.1)
|
47
|
+
simplecov (0.17.1)
|
48
|
+
docile (~> 1.1)
|
49
|
+
json (>= 1.8, < 3)
|
50
|
+
simplecov-html (~> 0.10.0)
|
51
|
+
simplecov-html (0.10.2)
|
52
|
+
strings (0.1.6)
|
53
|
+
strings-ansi (~> 0.1)
|
54
|
+
unicode-display_width (~> 1.5)
|
55
|
+
unicode_utils (~> 1.4)
|
56
|
+
strings-ansi (0.1.0)
|
57
|
+
tty-color (0.5.0)
|
58
|
+
tty-screen (0.7.0)
|
59
|
+
tty-table (0.11.0)
|
60
|
+
equatable (~> 0.6)
|
61
|
+
necromancer (~> 0.5)
|
62
|
+
pastel (~> 0.7.2)
|
63
|
+
strings (~> 0.1.5)
|
64
|
+
tty-screen (~> 0.7)
|
65
|
+
unicode-display_width (1.6.0)
|
66
|
+
unicode_utils (1.4.0)
|
67
|
+
yard (0.9.20)
|
68
|
+
|
69
|
+
PLATFORMS
|
70
|
+
x64-mingw32
|
71
|
+
|
72
|
+
DEPENDENCIES
|
73
|
+
bundler (~> 2.0)
|
74
|
+
pueri!
|
75
|
+
rake (~> 13.0)
|
76
|
+
rspec (~> 3.9)
|
77
|
+
rubocop (~> 0.75.0)
|
78
|
+
simplecov (~> 0.17.1)
|
79
|
+
yard (~> 0.9.20)
|
80
|
+
|
81
|
+
BUNDLED WITH
|
82
|
+
2.0.2
|
data/LICENSE.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# The Hippocratic License v1.1
|
2
|
+
|
3
|
+
Copyright `2019` `Igor Padoim`
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
|
7
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
|
9
|
+
* The Software may not be used by individuals, corporations, governments, or other groups for systems or activities that actively and knowingly endanger, harm, or otherwise threaten the physical, mental, economic, or general well-being of individuals or groups in violation of the United Nations Universal Declaration of Human Rights (https://www.un.org/en/universal-declaration-human-rights/).
|
10
|
+
|
11
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
12
|
+
|
13
|
+
This license is derived from the MIT License, as amended to limit the impact of the unethical use of open source software.
|
data/README.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# Pueri
|
2
|
+
|
3
|
+
[](https://github.com/Nereare/pueri/releases)
|
4
|
+
[](https://rubygems.org/gems/pueri)
|
5
|
+
[](LICENSE.md)
|
6
|
+
[](CODE-OF-CONDUCT.md)
|
7
|
+
|
8
|
+
[](https://travis-ci.org/Nereare/pueri)
|
9
|
+
[](https://codeclimate.com/github/Nereare/pueri)
|
10
|
+
[](https://codeclimate.com/github/Nereare/pueri)
|
11
|
+
[](https://libraries.io/github/Nereare/pueri)
|
12
|
+
|
13
|
+
Um script em Ruby para ajudar o dia-a-dia de médicos e enfermeiros de Atenção Básica.
|
14
|
+
|
15
|
+
## Installing
|
16
|
+
|
17
|
+
1. To-do.
|
18
|
+
|
19
|
+
## Contributing
|
20
|
+
|
21
|
+
1. Fork it!
|
22
|
+
2. Create your feature branch: `git checkout -b my-new-feature`
|
23
|
+
3. Commit your changes: `git commit -am 'Add some feature'`
|
24
|
+
4. Push to the branch: `git push origin my-new-feature`
|
25
|
+
5. Submit a pull request :tada:
|
26
|
+
|
27
|
+
Please, also read our [Contributing Guidelines](CONTRIBUTING.md).
|
28
|
+
|
29
|
+
### Code of Conduct
|
30
|
+
|
31
|
+
Please note that this project is released with a [Contributor Code of Conduct](CODE-OF-CONDUCT.md). By participating in this project you agree to abide by its terms.
|
32
|
+
|
33
|
+
## History & Versioning
|
34
|
+
|
35
|
+
See the [Change Log](CHANGELOG.md) for further history.
|
36
|
+
|
37
|
+
This project uses [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/Nereare/pueri/tags).
|
38
|
+
|
39
|
+
## Legal Stuff
|
40
|
+
|
41
|
+
[](LICENSE.md)
|
42
|
+
|
43
|
+
This project is available under the [Hippocratic License](https://firstdonoharm.dev/).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'pueri'
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
+
# require "pry"
|
12
|
+
# Pry.start
|
13
|
+
|
14
|
+
require 'irb'
|
15
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/docs/Pueri.html
ADDED
@@ -0,0 +1,231 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Module: Pueri
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.20
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
pathId = "Pueri";
|
19
|
+
relpath = '';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="_index.html">Index (P)</a> »
|
40
|
+
|
41
|
+
|
42
|
+
<span class="title">Pueri</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Module: Pueri
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<dl>
|
80
|
+
<dt>Defined in:</dt>
|
81
|
+
<dd>lib/pueri.rb<span class="defines">,<br />
|
82
|
+
lib/pueri/age.rb,<br /> lib/pueri/vax.rb,<br /> lib/pueri/neuro.rb,<br /> lib/pueri/version.rb</span>
|
83
|
+
</dd>
|
84
|
+
</dl>
|
85
|
+
|
86
|
+
</div>
|
87
|
+
|
88
|
+
<h2>Overview</h2><div class="docstring">
|
89
|
+
<div class="discussion">
|
90
|
+
|
91
|
+
<p>This module is a support for physicians and nurses who work on Primary Care
|
92
|
+
with children age 12 and younger. It calculates the child's age and
|
93
|
+
outputs an optimal vaccination scheme for such age, based on Brazil's
|
94
|
+
National Program of Immunization (PNI), using the 2019 uptade.</p>
|
95
|
+
|
96
|
+
|
97
|
+
</div>
|
98
|
+
</div>
|
99
|
+
<div class="tags">
|
100
|
+
|
101
|
+
|
102
|
+
</div><h2>Defined Under Namespace</h2>
|
103
|
+
<p class="children">
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Pueri/Age.html" title="Pueri::Age (class)">Age</a></span>, <span class='object_link'><a href="Pueri/Neuro.html" title="Pueri::Neuro (class)">Neuro</a></span>, <span class='object_link'><a href="Pueri/Vax.html" title="Pueri::Vax (class)">Vax</a></span>
|
109
|
+
|
110
|
+
|
111
|
+
</p>
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
<h2>
|
121
|
+
Class Method Summary
|
122
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
123
|
+
</h2>
|
124
|
+
|
125
|
+
<ul class="summary">
|
126
|
+
|
127
|
+
<li class="public ">
|
128
|
+
<span class="summary_signature">
|
129
|
+
|
130
|
+
<a href="#version-class_method" title="version (class method)">.<strong>version</strong> ⇒ String </a>
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
</span>
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
<span class="summary_desc"><div class='inline'>
|
145
|
+
<p>Returns the Gem's current version.</p>
|
146
|
+
</div></span>
|
147
|
+
|
148
|
+
</li>
|
149
|
+
|
150
|
+
|
151
|
+
</ul>
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
<div id="class_method_details" class="method_details_list">
|
157
|
+
<h2>Class Method Details</h2>
|
158
|
+
|
159
|
+
|
160
|
+
<div class="method_details first">
|
161
|
+
<h3 class="signature first" id="version-class_method">
|
162
|
+
|
163
|
+
.<strong>version</strong> ⇒ <tt>String</tt>
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
</h3><div class="docstring">
|
170
|
+
<div class="discussion">
|
171
|
+
|
172
|
+
<p>Returns the Gem's current version.</p>
|
173
|
+
|
174
|
+
|
175
|
+
</div>
|
176
|
+
</div>
|
177
|
+
<div class="tags">
|
178
|
+
|
179
|
+
<p class="tag_title">Returns:</p>
|
180
|
+
<ul class="return">
|
181
|
+
|
182
|
+
<li>
|
183
|
+
|
184
|
+
|
185
|
+
<span class='type'>(<tt>String</tt>)</span>
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
—
|
190
|
+
<div class='inline'>
|
191
|
+
<p>The Gem's current version.</p>
|
192
|
+
</div>
|
193
|
+
|
194
|
+
</li>
|
195
|
+
|
196
|
+
</ul>
|
197
|
+
|
198
|
+
</div><table class="source_code">
|
199
|
+
<tr>
|
200
|
+
<td>
|
201
|
+
<pre class="lines">
|
202
|
+
|
203
|
+
|
204
|
+
14
|
205
|
+
15
|
206
|
+
16</pre>
|
207
|
+
</td>
|
208
|
+
<td>
|
209
|
+
<pre class="code"><span class="info file"># File 'lib/pueri/version.rb', line 14</span>
|
210
|
+
|
211
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_version'>version</span>
|
212
|
+
<span class='ivar'>@version</span>
|
213
|
+
<span class='kw'>end</span></pre>
|
214
|
+
</td>
|
215
|
+
</tr>
|
216
|
+
</table>
|
217
|
+
</div>
|
218
|
+
|
219
|
+
</div>
|
220
|
+
|
221
|
+
</div>
|
222
|
+
|
223
|
+
<div id="footer">
|
224
|
+
Generated on Sat Oct 19 21:50:31 2019 by
|
225
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
226
|
+
0.9.20 (ruby-2.5.5).
|
227
|
+
</div>
|
228
|
+
|
229
|
+
</div>
|
230
|
+
</body>
|
231
|
+
</html>
|