learn_to_code 0.0.0 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9e62bb60d222fc8cf98dae10505657632a71b142bb99b300d2392a9c3f1a8bd
4
- data.tar.gz: b704ca2eef1478c22c43b6d0e095e36ba93875869949af1628be18f5e6d67df8
3
+ metadata.gz: 0c05ee699759893f3dc788b54a5018338b93a6c25a69f4fc6e118d2bf6deb667
4
+ data.tar.gz: b78504ea2490a7c5dce770337dbaf7b5b4261d57bc95ca7f0f44d8d3f73c21f7
5
5
  SHA512:
6
- metadata.gz: ddc0fe17156376078262ad0b8a81acedf0dd6c08198277a6d7126bb76887d4471614dc263f29c01c3744745e21f33a29b2ec8c65accb619e1deb3d8692cb870f
7
- data.tar.gz: 858213b85bd2692871ddca85451108fd18b24a739cda6cc1f19b7d203bd886deaa847c615d3dda9d6cf781cfbc94a9a783a9e0247330e7b85fdef2ff909ab183
6
+ metadata.gz: ee9b61759585f0aa7780dec4caa07bf87141e8bd7bcfba6588788ba6038ba44496d584d5e5b9a630c42c5ad9677d3e11367bcaf8fea3249b4c8aa374a9190d3b
7
+ data.tar.gz: ba7ce313a4340282c5bf34049f22c7050a1d42111ad34b5c6b5c3c83b2b2cc5ff4a81e8711581bc7167eb8b7b31e06e9a53cc4390cfb8f99f07a6321f75d3b75
@@ -0,0 +1,5 @@
1
+ class ComputerArchtiecture
2
+ def self.start
3
+ puts "Happy Computer Archtiecture Learning!!"
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class DesignPattern
2
+ def self.start
3
+ puts "Happy Design Pattern Learning!!"
4
+ end
5
+ end
data/lib/learn_to_code.rb CHANGED
@@ -1,5 +1,27 @@
1
+ require "courses/computer_architecture"
2
+ require 'courses/design_pattern'
3
+
4
+ # @author Mukesh
5
+ # demo class to show how gem works and build
1
6
  class LearnToCode
2
- def self.start
3
- puts "Happy Learning!!"
7
+ # Say Happy learing!
8
+ #
9
+ # Example:
10
+ # >> LearnToCode.start
11
+ # => Happy Learning!!
12
+ #
13
+ # Arguments:
14
+ # course: (String)
15
+
16
+
17
+ def self.start(cource="Happy Learning!!")
18
+ case cource
19
+ when "Computer Archtiecture"
20
+ ComputerArchtiecture.start
21
+ when "Design Pattern"
22
+ DesignPattern.start
23
+ else
24
+ puts "#{cource}"
25
+ end
4
26
  end
5
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: learn_to_code
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mukesh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-12 00:00:00.000000000 Z
11
+ date: 2023-05-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Learn computer programing!
14
14
  email: ashu.3333d@gmail.com
@@ -16,6 +16,8 @@ executables: []
16
16
  extensions: []
17
17
  extra_rdoc_files: []
18
18
  files:
19
+ - lib/courses/computer_architecture.rb
20
+ - lib/courses/design_pattern.rb
19
21
  - lib/learn_to_code.rb
20
22
  homepage: https://rubygems.org/gems/learn_to_code
21
23
  licenses: