italian-ruby 1.0.3 → 1.0.4

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
  SHA256:
3
- metadata.gz: 9ad4d3de4b1bea4fc957d1b2ff9f9817bb16680c0a7c2f6c0e5da21a96e35c98
4
- data.tar.gz: d02978bda604b1e7ba0a6e307a423dc6a4e7923a6c90583d1021c2011422198e
3
+ metadata.gz: 96fbb4841f7e983b899bc5aac6c5e3446f1c16c516d8a6ec0d0cb950e270983b
4
+ data.tar.gz: 91db46a507b9f504a74ea3885404637a1b5ffe51ef3b4da5ffc21fbc9e4c8959
5
5
  SHA512:
6
- metadata.gz: 60f19363e70ec6c54fc9b4b1ef5f494c92e986e4db2f806a33dcd0d68affac0681d919ac562d548f0fc72b540a99b1564aeda454ff40cc5df29cbc0da12acaa4
7
- data.tar.gz: e2e8846c4d1781b54265a56fc8bfb71ff6dcab7173366d78919de3b7d010c040576b3dcda5e1827272a694ecab8f662aa0250090a52acb87df02d2087b8272e1
6
+ metadata.gz: f394f7bb7c4f88dc88db20737aa2de48369524b41937c83ff7a524da6ec8be21e2200b89d47c36d6425849ec0105765f1feeacf7b8716715652d2302e1add49e
7
+ data.tar.gz: 4cf32fefd2cc6366360c8f71030c5a9f878c821002b5980d93a6ed3082730889fd95924990cda297be58233b03e2d7801150d8f6224a04bbb824e701664de361
@@ -6,6 +6,7 @@ class Array
6
6
  alias :per_ogni :each
7
7
  alias :per_ognuno :each
8
8
  alias :per_ognuna :each
9
+ alias :in_fette_da :each_slice
9
10
  alias :mappa :map
10
11
  alias :vuoto? :empty?
11
12
  alias :vuota? :empty?
@@ -9,6 +9,8 @@ class Range
9
9
  alias :in_lista :to_a
10
10
  alias :conteggio :count
11
11
  alias :lunghezza :count
12
+ alias :inizio :first
13
+ alias :termine :last
12
14
 
13
15
  end
14
16
 
@@ -165,4 +165,10 @@ class String
165
165
  end
166
166
  end
167
167
 
168
+ ##
169
+ # Restituisce l'ultimo indice della stringa.
170
+ def ultimo_indice
171
+ self.length - 1
172
+ end
173
+
168
174
  end
@@ -1,5 +1,5 @@
1
1
  module Italian
2
2
  module Ruby
3
- VERSIONE = "1.0.3"
3
+ VERSIONE = "1.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: italian-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Ballardin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-05 00:00:00.000000000 Z
11
+ date: 2020-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler