Module: PBCore::Attributes::Common

Included in:
Element
Defined in:
lib/pbcore/attributes/common.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/pbcore/attributes/common.rb', line 4

def self.included(base)
  PBCore.fail_if_base_is_not_pbcore_element(included_module: self, base: base)
  base.attribute :source
  base.attribute :ref
  base.attribute :annotation
  base.attribute :version
end