latias-string-commas 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +30 -0
- data/lib/latias/string.rb +7 -0
- metadata +46 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 464c9efaaf089f39a9167a148bb8dc98117fc3018c0fb43fbfa98d67d7323b83
|
4
|
+
data.tar.gz: bf459bd05963b26f62eaed543d34499a8b9af7bfc22c2bcaf763c04fcf1a734e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3cba2ed1233be4760a68e15a39d63058736c85dbbfee3642d2dbff73f975b34b77c2cb93b7209f5fc21d83508642bd8d539c96b8d1056d45b993c9b2bd1052a1
|
7
|
+
data.tar.gz: f0874c18a9cab39875b314ae62210d4d13d74f210100e9786e07871265c152cde0f42e571e2f98ed0c4da2bbe567df592178bf9a23ffd667f7c8a8974bebc4ab
|
data/README.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# Latias::String
|
2
|
+
Short description and motivation.
|
3
|
+
|
4
|
+
## Usage
|
5
|
+
How to use my plugin.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem 'latias-string-commas', '0.1.0', git: 'https://nattanon:dT1Lcvf8pvGoU7LX4Uqr@gitlab.opensource-technology.com/nattanon/latias-string-commas.git'
|
12
|
+
```
|
13
|
+
|
14
|
+
## Examples
|
15
|
+
```ruby
|
16
|
+
require 'latias-string-commas'
|
17
|
+
```
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
2.6.5 :001 > buddist_date_format(Date.today) # Date
|
21
|
+
=> "15 มกราคม 2564"
|
22
|
+
2.6.5 :002 > buddist_date_format(Date.today, format: "%d") # Date
|
23
|
+
=> "15"
|
24
|
+
2.6.5 :003 > buddist_date_format(Date.today, format: "%d %y") # Date
|
25
|
+
=> "15 64"
|
26
|
+
2.6.5 :004 > buddist_date_format(Date.today, format: "%d %Y") # Date
|
27
|
+
=> "15 2564"
|
28
|
+
2.6.5 :005 > buddist_date_format(DateTime.now(), format: "%b %Y %H:%M:%S %z") # DateTime
|
29
|
+
=> "ม.ค. 2564 17:20:23 +0700"
|
30
|
+
```
|
metadata
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: latias-string-commas
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- nattanon
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-01-22 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description:
|
14
|
+
email:
|
15
|
+
- nattanon@hospital-os.com
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- README.md
|
21
|
+
- lib/latias/string.rb
|
22
|
+
homepage: https://gitlab.opensource-technology.com/nattanon/latias-string-commas
|
23
|
+
licenses:
|
24
|
+
- MIT
|
25
|
+
metadata:
|
26
|
+
source_code_uri: https://gitlab.opensource-technology.com/nattanon/latias-string-commas
|
27
|
+
post_install_message:
|
28
|
+
rdoc_options: []
|
29
|
+
require_paths:
|
30
|
+
- lib
|
31
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
requirements: []
|
42
|
+
rubygems_version: 3.2.6
|
43
|
+
signing_key:
|
44
|
+
specification_version: 4
|
45
|
+
summary: Latias::String. in ruby
|
46
|
+
test_files: []
|