dalao 1.0.18.134.44586 → 1.0.18.135.15480

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 720cd8164e1e0720eef8c964b3b3c5141669efdfcffd6cbdd0e7c07e4ce2140b
4
- data.tar.gz: 50afe3e1e67f372a65c8c2d5f4337ab5c8fca9c746f1e2e89970035a6d3d5e2d
3
+ metadata.gz: 277a0773ffe764a042f4be9752b8d41eb5a4b2f200c8ce641edced3fba98a016
4
+ data.tar.gz: c910a27754bd7751836b0542a291d007380d666e665b8cefe34dd0f22c9e6d8a
5
5
  SHA512:
6
- metadata.gz: daf7dddb11352ce4c446c61fb3ae410cc3ff19110039839692561bc20664acacd1f1e60d09e83b74f1c60e22078660d94697ec33ff37ab673eb3cfebf07f9c86
7
- data.tar.gz: beaf91ac11689f1c6e63e9d38572b9f08cc7cfe06b709019e6434fe9d843aed3df210db65d013f8efbc39ec74a07445fc408311bc7ac8c0b16c7636cf1947d86
6
+ metadata.gz: 93efd1315fae3f815a336c3288d1da44ca69b88ba47e0c4128e231e0658970036d30873fad478a12a912bed3309e38c13f3da262de610ec452541804e2c773a1
7
+ data.tar.gz: 2b504c2a3a07129a72f47dd1f47f4ea7e65dea0fe93118f0b11cab4f15d628239a2a5af66b887fc5d7b9659f446a8e03d836dd8697cfc358480780dcb4db3fb8
@@ -19,6 +19,16 @@ module USTC
19
19
  def admire
20
20
  "Wow! #{@name} is too strong!"
21
21
  end
22
+
23
+ def to_s
24
+ "#{@name} is admirable."
25
+ end
26
+ end
27
+
28
+ def self.admire(a)
29
+ puts a.to_s
30
+ puts a.admire
31
+ true
22
32
  end
23
33
 
24
34
  class Dalao < Admirable
@@ -0,0 +1 @@
1
+ lib/dalao/tky.rb
@@ -0,0 +1,12 @@
1
+ require 'admire'
2
+
3
+ def admire
4
+ USTC::Dalao.new do |t|
5
+ t.name = 'TaoKY'
6
+ puts t
7
+ puts t.excellent?
8
+ puts t.taunt
9
+ end
10
+ end
11
+
12
+ admire
@@ -1,8 +1,12 @@
1
1
  require 'admire'
2
2
 
3
- USTC::Dalao.new do |t|
4
- t.name = 'ZJX'
5
- puts t
6
- puts t.excellent?
7
- puts t.taunt
3
+ def admire
4
+ USTC::Dalao.new do |t|
5
+ t.name = 'ZJX'
6
+ puts t
7
+ puts t.excellent?
8
+ puts t.taunt
9
+ end
8
10
  end
11
+
12
+ admire
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dalao
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.18.134.44586
4
+ version: 1.0.18.135.15480
5
5
  platform: ruby
6
6
  authors:
7
7
  - iBug
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-14 00:00:00.000000000 Z
11
+ date: 2018-05-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Use this gem to admire dalaos
14
14
  email:
@@ -26,6 +26,8 @@ files:
26
26
  - lib/dalao.rb
27
27
  - lib/dalao/fjw.rb
28
28
  - lib/dalao/hjy.rb
29
+ - lib/dalao/taoky.rb
30
+ - lib/dalao/tky.rb
29
31
  - lib/dalao/zjx.rb
30
32
  homepage: https://github.com/iBug/dalao
31
33
  licenses: