Module: Fig::Grammar::VersionIdentification::Everything1

Defined in:
lib/fig/grammar/version_identification.rb

Instance Method Summary collapse

Instance Method Details

#get_grammar_version(build_state) ⇒ Object



35
36
37
38
39
40
# File 'lib/fig/grammar/version_identification.rb', line 35

def get_grammar_version(build_state)
  return if not grammar_version
  return if grammar_version.text_value.empty?

  return grammar_version.to_package_statement(build_state)
end