Module: JSON::LD::VERSION
- Defined in:
- lib/json/ld/version.rb
Constant Summary collapse
- VERSION_FILE =
File.join(File.(File.dirname(__FILE__)), "..", "..", "..", "VERSION")
- STRING =
[MAJOR, MINOR, TINY, EXTRA].compact.join('.')
Class Method Summary collapse
Class Method Details
.to_a ⇒ Array(Integer, Integer, Integer)
19 |
# File 'lib/json/ld/version.rb', line 19 def self.to_a() STRING.split(".") end |
.to_s ⇒ String
11 |
# File 'lib/json/ld/version.rb', line 11 def self.to_s() STRING end |
.to_str ⇒ String
15 |
# File 'lib/json/ld/version.rb', line 15 def self.to_str() STRING end |