ConsoleGL 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/consolegl.rb +29 -27
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03f368dec4e872601d5bad37db52a3e786010aad82efa29e2f6c206bde12d3ec
4
- data.tar.gz: 1e7ae570a8e24a525c7e818e30d52e13f21ee1b5074fe7731ba1839573429f27
3
+ metadata.gz: 4b9698b40044e9f340674997a3bded847742d1e5b7014fdbc8fa5bd2bc23b390
4
+ data.tar.gz: 7fbde2b36b6fafcc1296e468166c512925d8face70841d682c52d66df32b9f1b
5
5
  SHA512:
6
- metadata.gz: eac10a277ebb5a3b27d11d0ac608d95291d689a68821cdcdb7a0e35b8bf8a3e65f76f5b2bc94c6c28972f67da227956d4781f7656815c72c66d47e17ced9f24c
7
- data.tar.gz: 5e4f26632c4fa93cb659116bd39827cd2e58df3161f991fe48b704860bfd550dfac3c7ded0b6c453175fc08c54f860b8981915e88c987dc941feb933819cea0e
6
+ metadata.gz: 18e8c070ef169653f8109c964762200491761073b40c2862706ecbcdc3e654d5d710819d1a27c0eea5a1a46851863a5b28e90bf948ef72e93c209d88bd0f6290
7
+ data.tar.gz: 8f853caadce9907d74d83215b2c7c59bfb72278ff3969f87c08505f1f31adab1bf107a0a12ce44018afd4a9cd076dc43338fabba5c39875f0f6110dcc5c30fa9
data/lib/consolegl.rb CHANGED
@@ -1,31 +1,30 @@
1
- """
2
- ConsoleGL Version 1.0 || DOCS
1
+ #ConsoleGL Version 1.0 || DOCS
3
2
 
4
- class: Color
3
+ #class: Color
5
4
  # Color IDs
6
- RED
7
- GREEN
8
- YELLOW
9
- BLUW
10
- LIGHT_BLUE
11
- WHITE
12
-
13
- class: Console
14
- addColor(x, s):
15
- Adds Color to string or number
16
- Params:
17
- X = COLOR ID
18
- S = STRING OR NUMBER
19
- Usage:
20
- addColor(Color.RED, 'ERROR')
21
- LineVertical(color):
22
- Returns a Vertical Line
23
- Params:
24
- Color = COLOR ID
25
- Usage:
26
- LineVertical(Color.BLUE)
27
-
28
- """
5
+ #RED
6
+ #GREEN
7
+ #YELLOW
8
+ #BLUE
9
+ #LIGHT_BLUE
10
+ #WHITE
11
+
12
+ #class: Console
13
+ #addColor(x, s):
14
+ #Adds Color to string or number
15
+ #Params:
16
+ #X = COLOR ID
17
+ #S = STRING OR NUMBER
18
+ #Usage:
19
+ #addColor(Color.RED, 'ERROR')
20
+ #LineVertical(color):
21
+ #Returns a Vertical Line
22
+ #Params:
23
+ #Color = COLOR ID
24
+ #Usage:
25
+ #LineVertical(Color.BLUE)
26
+
27
+
29
28
  class Color
30
29
 
31
30
  ## COLOR VALUE ##
@@ -67,6 +66,7 @@ class Console
67
66
 
68
67
  def self.LineHorizontal(color)
69
68
  return addColor(color, "│")
69
+ end
70
70
 
71
71
  def self.BigSquareMiddle(color)
72
72
  return addColor(color, "■")
@@ -136,5 +136,7 @@ class Console
136
136
  def ResetConsoleColor()
137
137
  system "COLOR 07"
138
138
  end
139
+ end
140
+
141
+
139
142
 
140
- end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ConsoleGL
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Okistuff
@@ -11,7 +11,7 @@ cert_chain: []
11
11
  date: 2020-07-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'Rendering Engine for Ruby kind of similar to OpenGL. It runs in the
14
- console: 1.0.2 Updates: Fixed Bugs'
14
+ console: 1.0.3 Updates: Fixed Bugs'
15
15
  email: okistuffyt@gmail.com
16
16
  executables: []
17
17
  extensions: []