Module: Measures::Helpers

Defined in:
lib/measure-loader/helpers.rb

Class Method Summary collapse

Class Method Details

.elm_id(elm) ⇒ Object



3
4
5
# File 'lib/measure-loader/helpers.rb', line 3

def self.elm_id(elm)
  return elm['library']['identifier']['id']
end

.elm_version(elm) ⇒ Object



7
8
9
# File 'lib/measure-loader/helpers.rb', line 7

def self.elm_version(elm)
  return elm['library']['identifier']['version']
end