wyqruby 0.1.0

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 74fa7493ecb62bde5374cd35f0addcdf00969198
4
+ data.tar.gz: ce6fa025938fe897f9e8dd834011aab9c5abf6f5
5
+ SHA512:
6
+ metadata.gz: 38d5d7a5fa183c922d4130a9ecbeaeb22c9ad0af82459f235a7fe9aeeddefc88741c96dad3011c91d1503c64a5206f75f19b684ef5550d0b0d502df80270dcbb
7
+ data.tar.gz: 5d96523c2079bbe45a545dd3a89747bfa49fa78edf0ba22265684cfbdc91d4467e45ef4c9e4ee759530f8ecd6a48f4adfbfe7ecc55cd418fd91577f0929e7f3f
data/lib/wyqruby.rb ADDED
@@ -0,0 +1 @@
1
+ require 'wyqruby/base/path'
@@ -0,0 +1,16 @@
1
+ module WYQRuby
2
+ module Base
3
+ module Path
4
+ # 获取桌面路径
5
+ def Path.get_desktop
6
+ return ENV['HOME']+'/Desktop'
7
+ end
8
+
9
+ # 获取临时路径
10
+ def Path.get_temp
11
+ return ENV['TEMP']
12
+ end
13
+
14
+ end
15
+ end
16
+ end
metadata ADDED
@@ -0,0 +1,50 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wyqruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - WYQ
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-07-12 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: " This WYQ Ruby Functions\n"
14
+ email: 194897868@qq.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/wyqruby.rb
20
+ - lib/wyqruby/base/path.rb
21
+ homepage: http://www.gamescome.com
22
+ licenses:
23
+ - GPL-2.0
24
+ metadata: {}
25
+ post_install_message:
26
+ rdoc_options:
27
+ - "--title"
28
+ - WYQRuby
29
+ - "--main"
30
+ - README.rdoc
31
+ - "--line-numbers"
32
+ require_paths:
33
+ - lib
34
+ required_ruby_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ required_rubygems_version: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ requirements: []
45
+ rubyforge_project:
46
+ rubygems_version: 2.5.1
47
+ signing_key:
48
+ specification_version: 4
49
+ summary: This WYQ Ruby Functions
50
+ test_files: []