module BELParser::Resources

Constants

BASE_URL
DEFAULT_ANNOTATIONS
DEFAULT_NAMESPACES

Public Class Methods

included(another_class) click to toggle source
# File lib/bel_parser/resources.rb, line 192
def self.included(another_class)
  DEFAULT_ANNOTATIONS.each do |keyword, annotation|
    another_class.const_set(keyword.to_sym, annotation)
  end
  DEFAULT_NAMESPACES.each do |keyword, namespace|
    another_class.const_set(keyword.to_sym, namespace)
  end
end