data_types 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0710ebccce9e98fe81835d649d0fc6a361ce47d
4
- data.tar.gz: 0b57edc8333badd3701a01d450b5bb5a662807e0
3
+ metadata.gz: ac79b20da9aca82ac7b06506f8675157d2ca22f5
4
+ data.tar.gz: 0797b45f3a1145c9211c60b21802590aea006c48
5
5
  SHA512:
6
- metadata.gz: 25aeff5ea6db97457f439743ac39f652506836d88ba37ce7829a778ac481f9258ec9bd83d72af9042763d063a27540cad212dd713232c7de742ebff5bc295f54
7
- data.tar.gz: bb05ea68ca5617b99ce15baaf0297cb8be0aada90f0159f443ba6b1c8841825ed8c2ac57a5728ba9c29e23c889781e35799d9e16fd81199728709da534539cdd
6
+ metadata.gz: d2a511c92367a3ccb28be6b12fbf4d5d415ab496479c05aaaedd563791c85833b485356de775cd6eafd6a432400f9b0aaef796f10553ee80d766ed40155c284d
7
+ data.tar.gz: d86945e921296630ded06b18e23f52a2a9c4f2ac16b4217f924aaa0ed4b02fca95b3239cbea688085dd6bb2ac62dcdac0e221f699c69544a058c4c215d2c4471
@@ -65,13 +65,11 @@ class Pair
65
65
  end
66
66
 
67
67
  # Flips the pair in place.
68
- # @return [Pair] Returns self.
69
68
  def flip!
70
69
  right = @right
71
70
  left = @left
72
71
  @left = right
73
72
  @right = left
74
- self
75
73
  end
76
74
 
77
75
  # Returns true if self and other have the same left and right values.
@@ -70,13 +70,11 @@ class Triplet
70
70
  end
71
71
 
72
72
  # Flips the triplet in place.
73
- # @return [Triplet] The Triplet with the left and right values flipped.
74
73
  def flip!
75
74
  left = @left
76
75
  right = @right
77
76
  @right = left
78
77
  @left = right
79
- self
80
78
  end
81
79
 
82
80
  # Returns true if self and other have the same left and right values.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_types
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eli Foster
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-23 00:00:00.000000000 Z
11
+ date: 2017-02-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: elifosterwy@gmail.com
@@ -40,8 +40,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
40
40
  version: '0'
41
41
  requirements: []
42
42
  rubyforge_project:
43
- rubygems_version: 2.5.1
43
+ rubygems_version: 2.6.4
44
44
  signing_key:
45
45
  specification_version: 4
46
46
  summary: A Ruby gem that adds new object types like pairs and triplets.
47
47
  test_files: []
48
+ has_rdoc: