learn_to_code 0.0.1 → 0.0.2
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.
- checksums.yaml +4 -4
- data/lib/learn_to_code.rb +12 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c05ee699759893f3dc788b54a5018338b93a6c25a69f4fc6e118d2bf6deb667
|
4
|
+
data.tar.gz: b78504ea2490a7c5dce770337dbaf7b5b4261d57bc95ca7f0f44d8d3f73c21f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee9b61759585f0aa7780dec4caa07bf87141e8bd7bcfba6588788ba6038ba44496d584d5e5b9a630c42c5ad9677d3e11367bcaf8fea3249b4c8aa374a9190d3b
|
7
|
+
data.tar.gz: ba7ce313a4340282c5bf34049f22c7050a1d42111ad34b5c6b5c3c83b2b2cc5ff4a81e8711581bc7167eb8b7b31e06e9a53cc4390cfb8f99f07a6321f75d3b75
|
data/lib/learn_to_code.rb
CHANGED
@@ -1,7 +1,19 @@
|
|
1
1
|
require "courses/computer_architecture"
|
2
2
|
require 'courses/design_pattern'
|
3
3
|
|
4
|
+
# @author Mukesh
|
5
|
+
# demo class to show how gem works and build
|
4
6
|
class LearnToCode
|
7
|
+
# Say Happy learing!
|
8
|
+
#
|
9
|
+
# Example:
|
10
|
+
# >> LearnToCode.start
|
11
|
+
# => Happy Learning!!
|
12
|
+
#
|
13
|
+
# Arguments:
|
14
|
+
# course: (String)
|
15
|
+
|
16
|
+
|
5
17
|
def self.start(cource="Happy Learning!!")
|
6
18
|
case cource
|
7
19
|
when "Computer Archtiecture"
|