Method: Crossref::Metadata#published

Defined in:
lib/crossref.rb

#publishedObject



53
54
55
56
57
58
# File 'lib/crossref.rb', line 53

def published
  pub = Hash.new
  pub[:year] = xpath_first('publication_date/year')
  pub[:month] = xpath_first('publication_date/month')
  pub
end