Skip to content

Commit

Permalink
Ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
msatmod committed Aug 30, 2022
1 parent 60eb59d commit 2361b03
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Day 3/Class_&_Object.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Filly
def THEMEGA
puts "Hello, My name is Amey...!!!"
end
def MEGA
puts "Hey, My name is Mega...!!!"
end
end

myobject = Filly.new

myobject.THEMEGA
myobject.MEGA

0 comments on commit 2361b03

Please sign in to comment.