Method: CBETA#get_category

Defined in:
lib/cbeta.rb

#get_category(book_id) ⇒ String

傳入經號,取得部類

Examples:

cbeta = CBETA.new
cbeta.get_category('T0220') # return '般若部類'


272
273
274
# File 'lib/cbeta.rb', line 272

def get_category(book_id)
  @categories[book_id]
end