Class: Sist02::Cli::CiNii

Inherits:
Thor
  • Object
show all
Defined in:
lib/sist02/cli/cinii.rb

Instance Method Summary collapse

Instance Method Details

#cinii_articles(naid) ⇒ Object



11
12
13
14
# File 'lib/sist02/cli/cinii.rb', line 11

def cinii_articles(naid)
  puts Sist02::CiNii.article_ref(naid)
  return Sist02::CiNii.article_ref(naid)
end

#cinii_books(ncid) ⇒ Object



17
18
19
20
# File 'lib/sist02/cli/cinii.rb', line 17

def cinii_books(ncid)
  puts Sist02::CiNii.book_ref(ncid)
  return Sist02::CiNii.book_ref(ncid)
end

#cinii_dissertations(naid) ⇒ Object



23
24
25
26
# File 'lib/sist02/cli/cinii.rb', line 23

def cinii_dissertations(naid)
  puts Sist02::CiNii.dissertation_ref(naid)
  return Sist02::CiNii.dissertation_ref(naid)
end