Sha256: 36fd9ba47433dfaf019cf9354a6eeac8e25d17ea4d5b5235924c1daccefe11b5
Contents?: true
Size: 440 Bytes
Versions: 17
Compression:
Stored size: 440 Bytes
Contents
module ExCite # Citation class, holds data from format and/or resource key class Citation extend ActsAsCitable include ResourceKey # Required fields attr_accessor :data, :from_format acts_as_citable do |c| c.format_field = :from_format end def initialize args = {} self.data = args[:data] self.from_format = args[:from_format] self.resource_key = args[:resource_key] end end end
Version data entries
17 entries across 17 versions & 1 rubygems