Module: RuneRb::Utils::Version

Included in:
RuneRb
Defined in:
lib/rrb/utils/version.rb

Overview

Functions to retrieve version data for the Rune.rb project.

Since:

  • 0.0.1

Instance Method Summary collapse

Instance Method Details

#buildString

The build string for the project.

Returns:

  • (String)

    the build string for the Rune.rb project.

Since:

  • 0.0.1



13
14
15
# File 'lib/rrb/utils/version.rb', line 13

def build
  "#{version}-#{raw[:build]}"
end

#versionString

The version.

Returns:

  • (String)

    the Rune.rb project version.

Since:

  • 0.0.1



7
8
9
# File 'lib/rrb/utils/version.rb', line 7

def version
  raw[:version]
end