lib/arxiv/references/ArxivReferences.rb in arxiv-references-0.1.1 vs lib/arxiv/references/ArxivReferences.rb in arxiv-references-0.1.2
- old
+ new
@@ -1,19 +1,17 @@
# coding: utf-8
require 'thor'
require 'pathname'
lib = Pathname.new(__FILE__).dirname.join().expand_path
-p lib.to_s
$:.unshift lib.to_s
require 'myUtil'
module ArxivReferences
class CLI < Thor
include ArxivUtil
desc 'url', 'Extract references from arxiv URL'
- p $:
def url(urlName)
return ArxivUtil.fetchFromUrl(urlName)
end
desc 'id', 'Extract references from Arxiv id'