Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
Synopsis

This presentation is on Polymorphism and Ruby.
In this different ways to acheive polymorphism is explained with the help of examples.
The different ways to acheive the polymorphism need to be understand.
In this different ways to achieve polymorphism is explained with the help of examples.
The different ways to achieve the polymorphism need to be understand.


For Example in Ruby if u type in irb as 1.to_i & "1".to_i
Both of this statements will not raise any error
So can you think how a string and an integer will calll the same method without raising an exception.
So can you think how a string and an integer will call the same method without raising an exception.
This is working in ruby bz of Polymorphism, as in Ruby "Everything is an object"
and all the objects having a paticular properties.
and all the objects having a particular properties.

"Polymorphism is the provision of a single interface to entities of different types."


The below link will give the description of different ways to acheive Polymorphism in Ruby
The below link will give the description of different ways to achieve Polymorphism in Ruby

url: https://rocky-mesa-6420.herokuapp.com/

Expand Down