yzz 2.0.3 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yzz.rb +12 -0
- data/lib/yzz/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9860ebc7b96fb69826c2141521128ab87f094de7
|
4
|
+
data.tar.gz: 463614b5ee9ed02ae0af1c57d217cd0b28c7f714
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10c94eaecf746f70f7714e782fac97beb752386a029c8da1cf7a7e69e16c92a8866319d01e562adaea8b0de1ab50d13d3dfda4ca89d72836cb1972d63ea53a2f
|
7
|
+
data.tar.gz: 73f83d60ed2e57397bef44d8de8819e8de03d179222dfa4b3ad95541d0c1a77f8acfb011b0eabdb2a26e62774e3aec89013bf135f7a899a86b2f2e6f272118e6
|
data/lib/yzz.rb
CHANGED
@@ -66,6 +66,18 @@ module Yzz
|
|
66
66
|
def towards other
|
67
67
|
connectivity.select { |side| side.neighbor == other }
|
68
68
|
end
|
69
|
+
|
70
|
+
# Short string describing the object.
|
71
|
+
#
|
72
|
+
def to_s
|
73
|
+
"#<Yzz, #{connections.size} conn.>"
|
74
|
+
end
|
75
|
+
|
76
|
+
# Inspect string of the object.
|
77
|
+
#
|
78
|
+
def inspect
|
79
|
+
to_s
|
80
|
+
end
|
69
81
|
end
|
70
82
|
|
71
83
|
class Object
|
data/lib/yzz/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yzz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- boris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|