Class: ArticleCoinsHelper

Inherits:
CoinsHelperBase show all
Defined in:
app/helpers/coins_helper.rb

Instance Method Summary (collapse)

Methods inherited from CoinsHelperBase

#coins, #initialize

Constructor Details

This class inherits a constructor from CoinsHelperBase

Instance Method Details

- (Object) add_contents



63
64
65
66
67
68
69
70
# File 'app/helpers/coins_helper.rb', line 63

def add_contents
  add 'rft.atitle', @reference.title
  add 'rft.jtitle', @reference.journal.name
  add 'rft.volume', @reference.volume
  add 'rft.issue', @reference.issue
  add 'rft.spage', @reference.start_page
  add 'rft.epage', @reference.end_page
end

- (Object) genre



60
61
62
# File 'app/helpers/coins_helper.rb', line 60

def genre
  'article'
end

- (Object) kind



57
58
59
# File 'app/helpers/coins_helper.rb', line 57

def kind
  'journal'
end