Module: SensuPluginsCheckLan::Version
- Defined in:
- lib/sensu-plugins-check-lan/version.rb
Overview
This defines the version of the gem
Constant Summary collapse
- MAJOR =
0
- MINOR =
0
- PATCH =
1
- VER_STRING =
[MAJOR, MINOR, PATCH].compact.join('.')
- NAME =
'sensu-plugins-check-lan'
- BANNER =
"#{NAME} v%s"
Class Method Summary collapse
Class Method Details
.json_version ⇒ Object
22 23 24 25 26 |
# File 'lib/sensu-plugins-check-lan/version.rb', line 22 def json_version { 'version' => VER_STRING }.to_json end |
.version ⇒ Object
18 19 20 |
# File 'lib/sensu-plugins-check-lan/version.rb', line 18 def version format(BANNER, VER_STRING) end |