mdpreview 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|