module RelatonOmg::OmgBibliography
OMG bibliography module
Public Class Methods
get(code, _year = nil, _opts = {})
click to toggle source
@param code [String] the OMG standard reference @param year [String] the year the standard was published (optional) @param opts [Hash] options @return [RelatonOmg::OmgBibliographicItem]
# File lib/relaton_omg/omg_bibliography.rb, line 17 def get(code, _year = nil, _opts = {}) search code end
search(text)
click to toggle source
@param code [String] the OMG standard reference @return [RelatonOmg::OmgBibliographicItem]
# File lib/relaton_omg/omg_bibliography.rb, line 9 def search(text) Scrapper.scrape_page text end