latias-string-commas 0.1.7 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/{latias/string.rb → string.rb} +6 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f16e0d44dceac3f6f21e7a7def11c94cc19edc009e3befe14cf9cb08aed11089
|
4
|
+
data.tar.gz: 8659ca2235d861336d4fe226b3e0c91718257b04fe5bc1c13969a4adc2d1ff11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 232cd38bb7f3d73ce455908fc4a7724521622f1ac1b2f9becadade2cdf6bc943154f5c2da087dab2a4caae921f226a5bd7a8c3dec45b6977777b8aa7c56e2374
|
7
|
+
data.tar.gz: 9974dd3789393fd622bbbb24c87a59b8fc0a18fa11ede7e179e6f18f42ed942eaa6a7997f5027f6007da5417d5321dfc18d0444c856646d8ea35cf125db02cbc
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# module Latias
|
2
|
-
#
|
3
|
-
# def add_commas
|
4
|
-
#
|
2
|
+
# module String
|
3
|
+
# def add_commas(m_str)
|
4
|
+
# m_str.to_s.reverse.scan(/\d{3}|.+/).join(',').reverse
|
5
5
|
# rescue StandardError # optionally: `rescue Exception => ex`
|
6
6
|
# m_str
|
7
7
|
# end
|
@@ -9,8 +9,8 @@
|
|
9
9
|
# end
|
10
10
|
|
11
11
|
# extend Latias::String
|
12
|
-
class
|
12
|
+
class Holaa
|
13
13
|
def self.hi
|
14
|
-
puts
|
14
|
+
puts 'Hello world!'
|
15
15
|
end
|
16
|
-
end
|
16
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: latias-string-commas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nattanon
|
@@ -10,14 +10,14 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2021-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description: A simple hello world gem
|
14
14
|
email:
|
15
15
|
- nattanon@hospital-os.com
|
16
16
|
executables: []
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
|
-
- lib/
|
20
|
+
- lib/string.rb
|
21
21
|
homepage: https://gitlab.opensource-technology.com/nattanon/latias-string-commas
|
22
22
|
licenses:
|
23
23
|
- MIT
|