Class: UwCatalog::BibData

Inherits:
Object
  • Object
show all
Defined in:
lib/uw_catalog/model/bib_data.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#authorObject

Returns the value of attribute author.



4
5
6
# File 'lib/uw_catalog/model/bib_data.rb', line 4

def author
  @author
end

#bibidObject

Returns the value of attribute bibid.



4
5
6
# File 'lib/uw_catalog/model/bib_data.rb', line 4

def bibid
  @bibid
end

#editionObject

Returns the value of attribute edition.



4
5
6
# File 'lib/uw_catalog/model/bib_data.rb', line 4

def edition
  @edition
end

#pub_placeObject

Returns the value of attribute pub_place.



4
5
6
# File 'lib/uw_catalog/model/bib_data.rb', line 4

def pub_place
  @pub_place
end

#publish_dateObject

Returns the value of attribute publish_date.



4
5
6
# File 'lib/uw_catalog/model/bib_data.rb', line 4

def publish_date
  @publish_date
end

#publisherObject

Returns the value of attribute publisher.



4
5
6
# File 'lib/uw_catalog/model/bib_data.rb', line 4

def publisher
  @publisher
end

#titleObject

Returns the value of attribute title.



4
5
6
# File 'lib/uw_catalog/model/bib_data.rb', line 4

def title
  @title
end

Instance Method Details

#published_displayObject



6
7
8
9
10
11
12
# File 'lib/uw_catalog/model/bib_data.rb', line 6

def published_display
  ret = ''
  ret += edition unless edition.nil?
  ret += pub_place unless pub_place.nil?
  ret += publisher unless publisher.nil?
  ret += publish_date unless publish_date.nil?
end