Class: LearnToCode

Inherits:
Object
  • Object
show all
Defined in:
lib/learn_to_code.rb

Class Method Summary collapse

Class Method Details

.start(cource = "Happy Learning!!") ⇒ Object



5
6
7
8
9
10
11
12
13
14
# File 'lib/learn_to_code.rb', line 5

def self.start(cource="Happy Learning!!")
  case cource
  when "Computer Archtiecture"
    ComputerArchtiecture.start
  when "Design Pattern"
    DesignPattern.start
  else
    puts "#{cource}"
  end
end