mdpreview 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mdpreview/version.rb +1 -1
- data/lib/mdpreview.rb +1 -1
- metadata +1 -1
data/lib/mdpreview/version.rb
CHANGED
data/lib/mdpreview.rb
CHANGED
@@ -13,7 +13,7 @@ module Mdpreview
|
|
13
13
|
#获得当前执行文件的完整路径
|
14
14
|
# puts Pathname.new(__FILE__).realpath
|
15
15
|
#获得当前执行文件的目录完整路径
|
16
|
-
path = Pathname.new(File.expand_path('
|
16
|
+
path = Pathname.new(File.expand_path('../../vendor/ed/mdp.html', __FILE__)).realpath
|
17
17
|
`open #{path}`
|
18
18
|
end
|
19
19
|
end
|