wyqrb 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.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/lib/wyqrb.rb +1 -0
  3. data/lib/wyqrb/base/path.rb +16 -0
  4. metadata +50 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d2d909b61d55496ade9a0e7be38714a8485a6b20
4
+ data.tar.gz: fd9e067591d3ca655fe3072f47d92f9211f4ba6f
5
+ SHA512:
6
+ metadata.gz: 00479881d10d62a55f038f25231f45796c2a5182ae4b1a881121deff644f4ea6347f6646842ec49ca56635766b7e3d4e87d7609f22b70da4c533faadf0fbbee8
7
+ data.tar.gz: eb8b8122ccc3f03d52070e4b075cb159c90297c05dc975df339e7f6c2baeeffd555b38160ab2ded4c4b3ee3b7516b7fe7db9412401b09a8b394f806cdbb00313
data/lib/wyqrb.rb ADDED
@@ -0,0 +1 @@
1
+ require 'wyqrb/base/path'
@@ -0,0 +1,16 @@
1
+ module WYQRB
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: wyqrb
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-09-02 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/wyqrb.rb
20
+ - lib/wyqrb/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
+ - WYQRB
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: []