Class: Header

Inherits:
EADElement
  • Object
show all
Defined in:
lib/elements/eadheader.rb

Instance Method Summary collapse

Constructor Details

#initialize(id, title) ⇒ Header

Returns a new instance of Header.



20
21
22
23
# File 'lib/elements/eadheader.rb', line 20

def initialize(id, title)
	self.eadid = Id.new(id)
	self.filedesc = FileDesc.new(title)
end

Instance Method Details

#eadtitleObject



25
26
27
# File 'lib/elements/eadheader.rb', line 25

def eadtitle
	self.filedesc.titlestmt.titleproper
end