SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Downloaden Sie, um offline zu lesen
SEMINAR ON
RUBY PROGRAMMING
Presented by :-
Kartik N. Kalpande.
CONTENTS
 Introduction
 History
 Overview of ruby programing
 Application and tool needed for Ruby
 Different from other language
 Advantages of Ruby programing
 Disadvantages of programing
 Example of Ruby programing
 Conclusion
INTRODUCTION
Ruby was created by Yukihiro
Matsumoto, or "Matz", in Japan in the
mid 1990's.
HISTORY
 Born Feb 24, 1993 – Yukihiro ”Matz” Matsumoto
 Ruby 0.95 – announced Dec 21, 1995
 – OO, Inheritance, iterators, exception handling, garbage
collection
 Ruby 1.0 – released Dec 25, 1996
 Ruby 1.3 – 1999
 – After its release an English ”Ruby” mailing list was
created
 Ruby on Rails – 2005
 – MVC web framework coded with Ruby
 Ruby 1.9.1 – Latest version
OVERVIEW OF RUBY PROGRAMMING
 Ruby – Scripting language, dynamic and object
oriented
 Allows rapid development and rapid prototypes
of software
 Consists of useful string operations and regular
expressions
 Everything in Ruby is an object
 Has automatic garbage collection
 Instant feedback when developing
 Multiple OS support and open source
TOOLS NEEDED FOR RUBY
The Ruby interpreter
A text editor such as Notepad++, Scite or
Vim.Word processors such as Wordpad or
Microsoft Word are not suitable.
Command-line access.
DIFFERENT FROM OTHER LANGUAGE
 Objects are strongly typed (and variable names
themselves have no type at all).
 No pointers ,no typedefs, sizeof, nor enums.
 There are no header files.
 There’s no #define. Just use constants instead.
PROGRAM FOR FACTORIAL NO .
 def fact(n)
if n == 0
1
else
n * fact(n-1)
end
end
puts fact(ARGV[0].to_i)
ADVANTAGES
Clean code.
 Easy to learn.
 Documention and support.
Open Source.
 Object oriented.
DISADVANTAGES
Ruby's development and updates are
slower.
It is a slower programing language
CONCLUSION
 Ruby is an object oriented language and the object oriented
features are used throughout. Ruby is that doesn’t require a lot of
extra punctuation. Compared to Java, Ruby is streamlined, with
less code required to create basic structures such as data fields.
Ruby is a modern language that makes it easy to use high-level
abstractions such as metaprogramming.
REFERENCES
 http://www.fincher.org/tips/Languages/Ruby/
 http://www.rubylang.
 org/en/about/
 http://www.rubylang.
 org/en/documentation/quickstart/
 http://en.wikipedia.org/wiki/Ruby_%28program
ming_language%29
 http://articles.sitepoint.com/article/learnrubyonra
ils
THANK YOU!

Más contenido relacionado

Was ist angesagt? (20)

Basics of shell programming
Basics of shell programmingBasics of shell programming
Basics of shell programming
 
Programming
ProgrammingProgramming
Programming
 
An introduction-to-tkinter
An introduction-to-tkinterAn introduction-to-tkinter
An introduction-to-tkinter
 
OOP - Polymorphism
OOP - PolymorphismOOP - Polymorphism
OOP - Polymorphism
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
 
Java features
Java featuresJava features
Java features
 
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
 
Python by Rj
Python by RjPython by Rj
Python by Rj
 
Types of computer viruses
Types of computer viruses Types of computer viruses
Types of computer viruses
 
Python coding standards
Python coding standardsPython coding standards
Python coding standards
 
Swift Introduction
Swift IntroductionSwift Introduction
Swift Introduction
 
Operating system
Operating systemOperating system
Operating system
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languages
 
C# Programming: Fundamentals
C# Programming: FundamentalsC# Programming: Fundamentals
C# Programming: Fundamentals
 
Java Programming
Java ProgrammingJava Programming
Java Programming
 
JavaScript - An Introduction
JavaScript - An IntroductionJavaScript - An Introduction
JavaScript - An Introduction
 
Shell programming
Shell programmingShell programming
Shell programming
 
introduction to visual basic PPT.pptx
introduction to visual basic PPT.pptxintroduction to visual basic PPT.pptx
introduction to visual basic PPT.pptx
 
Linux Operating System
Linux Operating SystemLinux Operating System
Linux Operating System
 
Introduction of java
Introduction  of javaIntroduction  of java
Introduction of java
 

Andere mochten auch

eSAC presentation, Andean Region - mHealth Summit - Washington/12
eSAC presentation, Andean Region - mHealth Summit - Washington/12eSAC presentation, Andean Region - mHealth Summit - Washington/12
eSAC presentation, Andean Region - mHealth Summit - Washington/12Felipe Mejia Medina
 
iOS Game Development with Cocos2d
iOS Game Development with Cocos2diOS Game Development with Cocos2d
iOS Game Development with Cocos2dEddie Kao
 
The ruby-way
The ruby-wayThe ruby-way
The ruby-wayfangdeng
 
Rails Girls in Taipei
Rails Girls in TaipeiRails Girls in Taipei
Rails Girls in TaipeiEddie Kao
 
Rails girls in Taipei
Rails girls in TaipeiRails girls in Taipei
Rails girls in TaipeiEddie Kao
 
Writing your own programming language to understand Ruby better - Euruko 2011
Writing your own programming language to understand Ruby better - Euruko 2011Writing your own programming language to understand Ruby better - Euruko 2011
Writing your own programming language to understand Ruby better - Euruko 2011Plataformatec
 
Let's Learn Ruby - Basic
Let's Learn Ruby - BasicLet's Learn Ruby - Basic
Let's Learn Ruby - BasicEddie Kao
 
O raposo e o ourizo
O raposo e o ourizoO raposo e o ourizo
O raposo e o ourizoAgueda rs
 
áLbum de fotografías
áLbum de fotografíasáLbum de fotografías
áLbum de fotografíasAgueda rs
 
Android and android versions
Android and android versionsAndroid and android versions
Android and android versionsMegha Jain
 
02 question4 you_eng
02 question4 you_eng02 question4 you_eng
02 question4 you_engJeff Abramson
 
Introduction to TTE Language School
Introduction to TTE Language SchoolIntroduction to TTE Language School
Introduction to TTE Language Schooltte-presentations
 
Draft your own reconstruction plan
Draft your own reconstruction plan Draft your own reconstruction plan
Draft your own reconstruction plan MrsBrownMEH
 

Andere mochten auch (18)

eSAC presentation, Andean Region - mHealth Summit - Washington/12
eSAC presentation, Andean Region - mHealth Summit - Washington/12eSAC presentation, Andean Region - mHealth Summit - Washington/12
eSAC presentation, Andean Region - mHealth Summit - Washington/12
 
iOS Game Development with Cocos2d
iOS Game Development with Cocos2diOS Game Development with Cocos2d
iOS Game Development with Cocos2d
 
The ruby-way
The ruby-wayThe ruby-way
The ruby-way
 
Rails Girls in Taipei
Rails Girls in TaipeiRails Girls in Taipei
Rails Girls in Taipei
 
Rails girls in Taipei
Rails girls in TaipeiRails girls in Taipei
Rails girls in Taipei
 
Writing your own programming language to understand Ruby better - Euruko 2011
Writing your own programming language to understand Ruby better - Euruko 2011Writing your own programming language to understand Ruby better - Euruko 2011
Writing your own programming language to understand Ruby better - Euruko 2011
 
Let's Learn Ruby - Basic
Let's Learn Ruby - BasicLet's Learn Ruby - Basic
Let's Learn Ruby - Basic
 
O raposo e o ourizo
O raposo e o ourizoO raposo e o ourizo
O raposo e o ourizo
 
Trabajo e residuos solidos 9.2
Trabajo e residuos solidos 9.2Trabajo e residuos solidos 9.2
Trabajo e residuos solidos 9.2
 
Math Curriculum Parent Guide
Math Curriculum Parent GuideMath Curriculum Parent Guide
Math Curriculum Parent Guide
 
áLbum de fotografías
áLbum de fotografíasáLbum de fotografías
áLbum de fotografías
 
FTX-RX
FTX-RXFTX-RX
FTX-RX
 
01 cover eng
01 cover eng01 cover eng
01 cover eng
 
Android and android versions
Android and android versionsAndroid and android versions
Android and android versions
 
02 question4 you_eng
02 question4 you_eng02 question4 you_eng
02 question4 you_eng
 
Quality Control in Development
Quality Control in DevelopmentQuality Control in Development
Quality Control in Development
 
Introduction to TTE Language School
Introduction to TTE Language SchoolIntroduction to TTE Language School
Introduction to TTE Language School
 
Draft your own reconstruction plan
Draft your own reconstruction plan Draft your own reconstruction plan
Draft your own reconstruction plan
 

Ähnlich wie Ruby programming

Intro To Ror
Intro To RorIntro To Ror
Intro To Rormyuser
 
Ruby And Ruby On Rails
Ruby And Ruby On RailsRuby And Ruby On Rails
Ruby And Ruby On RailsAkNirojan
 
Ruby on Rails Introduction M&P - IT Skill Development Program 07
Ruby on Rails Introduction M&P - IT Skill Development Program 07Ruby on Rails Introduction M&P - IT Skill Development Program 07
Ruby on Rails Introduction M&P - IT Skill Development Program 07Muhammad Sunny ✈
 
Page List & Sample Material (Repaired)
Page List & Sample Material (Repaired)Page List & Sample Material (Repaired)
Page List & Sample Material (Repaired)Muhammad Haseeb Shahid
 
Ruby Past, Present, Future
Ruby   Past, Present, FutureRuby   Past, Present, Future
Ruby Past, Present, Futureadamfine
 
Optimizing for programmer happiness
Optimizing for programmer happinessOptimizing for programmer happiness
Optimizing for programmer happinessJosh Schramm
 
Why Is Ruby On Rails Becoming So Popular?
Why Is Ruby On Rails Becoming So Popular?Why Is Ruby On Rails Becoming So Popular?
Why Is Ruby On Rails Becoming So Popular?Sneha Suresh
 
Introduction to Ruby on Rails
Introduction to Ruby on RailsIntroduction to Ruby on Rails
Introduction to Ruby on RailsAmit Patel
 
Pengantar Ruby on Rails
Pengantar Ruby on RailsPengantar Ruby on Rails
Pengantar Ruby on RailsAshari Juang
 
Ruby vs Java: Comparing Two Popular Programming Languages For Developing Ente...
Ruby vs Java: Comparing Two Popular Programming Languages For Developing Ente...Ruby vs Java: Comparing Two Popular Programming Languages For Developing Ente...
Ruby vs Java: Comparing Two Popular Programming Languages For Developing Ente...Katy Slemon
 
An introduction to the ruby ecosystem
An introduction to the ruby ecosystemAn introduction to the ruby ecosystem
An introduction to the ruby ecosystemGeison Goes
 

Ähnlich wie Ruby programming (20)

Intro To Ror
Intro To RorIntro To Ror
Intro To Ror
 
01 index
01 index01 index
01 index
 
Ruby And Ruby On Rails
Ruby And Ruby On RailsRuby And Ruby On Rails
Ruby And Ruby On Rails
 
02 ruby overview
02 ruby overview02 ruby overview
02 ruby overview
 
Ruby on Rails Introduction M&P - IT Skill Development Program 07
Ruby on Rails Introduction M&P - IT Skill Development Program 07Ruby on Rails Introduction M&P - IT Skill Development Program 07
Ruby on Rails Introduction M&P - IT Skill Development Program 07
 
Page List & Sample Material (Repaired)
Page List & Sample Material (Repaired)Page List & Sample Material (Repaired)
Page List & Sample Material (Repaired)
 
sl slides-unit-1.pptx
sl slides-unit-1.pptxsl slides-unit-1.pptx
sl slides-unit-1.pptx
 
Ruby Past, Present, Future
Ruby   Past, Present, FutureRuby   Past, Present, Future
Ruby Past, Present, Future
 
Optimizing for programmer happiness
Optimizing for programmer happinessOptimizing for programmer happiness
Optimizing for programmer happiness
 
Why Is Ruby On Rails Becoming So Popular?
Why Is Ruby On Rails Becoming So Popular?Why Is Ruby On Rails Becoming So Popular?
Why Is Ruby On Rails Becoming So Popular?
 
Introduction to Ruby on Rails
Introduction to Ruby on RailsIntroduction to Ruby on Rails
Introduction to Ruby on Rails
 
Dynamic language
Dynamic languageDynamic language
Dynamic language
 
Pengantar Ruby on Rails
Pengantar Ruby on RailsPengantar Ruby on Rails
Pengantar Ruby on Rails
 
Intro To Ror
Intro To RorIntro To Ror
Intro To Ror
 
Ruby vs Java: Comparing Two Popular Programming Languages For Developing Ente...
Ruby vs Java: Comparing Two Popular Programming Languages For Developing Ente...Ruby vs Java: Comparing Two Popular Programming Languages For Developing Ente...
Ruby vs Java: Comparing Two Popular Programming Languages For Developing Ente...
 
Why ruby
Why rubyWhy ruby
Why ruby
 
An introduction to the ruby ecosystem
An introduction to the ruby ecosystemAn introduction to the ruby ecosystem
An introduction to the ruby ecosystem
 
Intro for RoR
Intro for RoRIntro for RoR
Intro for RoR
 
l-rubysocks-a4
l-rubysocks-a4l-rubysocks-a4
l-rubysocks-a4
 
l-rubysocks-a4
l-rubysocks-a4l-rubysocks-a4
l-rubysocks-a4
 

Mehr von Kartik Kalpande Patil

Wirelessmobilechargingusingmicrowavesjazz 140128114925-phpapp02
Wirelessmobilechargingusingmicrowavesjazz 140128114925-phpapp02Wirelessmobilechargingusingmicrowavesjazz 140128114925-phpapp02
Wirelessmobilechargingusingmicrowavesjazz 140128114925-phpapp02Kartik Kalpande Patil
 
Microcontroller in automobile and applications
Microcontroller in automobile and applicationsMicrocontroller in automobile and applications
Microcontroller in automobile and applicationsKartik Kalpande Patil
 
Functional block diagram_of_laser_printer
Functional block diagram_of_laser_printerFunctional block diagram_of_laser_printer
Functional block diagram_of_laser_printerKartik Kalpande Patil
 
Digital signature and adv payment gateway
Digital signature and adv payment gatewayDigital signature and adv payment gateway
Digital signature and adv payment gatewayKartik Kalpande Patil
 

Mehr von Kartik Kalpande Patil (20)

Data mining and knowledge Discovery
Data mining and knowledge DiscoveryData mining and knowledge Discovery
Data mining and knowledge Discovery
 
wireless charging in phones
wireless charging in phoneswireless charging in phones
wireless charging in phones
 
Wirelessmobilechargingusingmicrowavesjazz 140128114925-phpapp02
Wirelessmobilechargingusingmicrowavesjazz 140128114925-phpapp02Wirelessmobilechargingusingmicrowavesjazz 140128114925-phpapp02
Wirelessmobilechargingusingmicrowavesjazz 140128114925-phpapp02
 
Viruses ppt
Viruses pptViruses ppt
Viruses ppt
 
Versions of android
Versions of androidVersions of android
Versions of android
 
Resent intel motherboards
Resent intel motherboardsResent intel motherboards
Resent intel motherboards
 
Resent intel microprocessor
Resent intel microprocessorResent intel microprocessor
Resent intel microprocessor
 
Parallel computing
Parallel computingParallel computing
Parallel computing
 
Open source movement
Open source movementOpen source movement
Open source movement
 
Object oriented dbms
Object oriented dbmsObject oriented dbms
Object oriented dbms
 
Network simulation software
Network simulation softwareNetwork simulation software
Network simulation software
 
Mirroring and replications
Mirroring and replicationsMirroring and replications
Mirroring and replications
 
Microprocessor in human body
Microprocessor in human bodyMicroprocessor in human body
Microprocessor in human body
 
Microcontroller in automobile and applications
Microcontroller in automobile and applicationsMicrocontroller in automobile and applications
Microcontroller in automobile and applications
 
Mahol. android ppt
Mahol. android pptMahol. android ppt
Mahol. android ppt
 
applet using java
applet using javaapplet using java
applet using java
 
Hadoop
HadoopHadoop
Hadoop
 
Functional block diagram_of_laser_printer
Functional block diagram_of_laser_printerFunctional block diagram_of_laser_printer
Functional block diagram_of_laser_printer
 
Digital signature and adv payment gateway
Digital signature and adv payment gatewayDigital signature and adv payment gateway
Digital signature and adv payment gateway
 
Data mining semiinar ppo
Data mining semiinar  ppoData mining semiinar  ppo
Data mining semiinar ppo
 

Último

This chapter gives an outline of the security.
This chapter gives an outline of the security.This chapter gives an outline of the security.
This chapter gives an outline of the security.RoshniIsrani1
 
Governors ppt.pdf .
Governors ppt.pdf                              .Governors ppt.pdf                              .
Governors ppt.pdf .happycocoman
 
zomato data mining datasets for quality prefernece and conntrol.pptx
zomato data mining  datasets for quality prefernece and conntrol.pptxzomato data mining  datasets for quality prefernece and conntrol.pptx
zomato data mining datasets for quality prefernece and conntrol.pptxPratikMhatre39
 
Caltrans District 8 Update for the CalAPA Spring Asphalt Conference 2024
Caltrans District 8 Update for the CalAPA Spring Asphalt Conference 2024Caltrans District 8 Update for the CalAPA Spring Asphalt Conference 2024
Caltrans District 8 Update for the CalAPA Spring Asphalt Conference 2024California Asphalt Pavement Association
 
First Review Group 1 PPT.pptx with slide
First Review Group 1 PPT.pptx with slideFirst Review Group 1 PPT.pptx with slide
First Review Group 1 PPT.pptx with slideMonika860882
 
EJECTOR REFRIGERATION CYCLE WITH THE INJECTION OF A HIGH DENSITY FLUID INTO A...
EJECTOR REFRIGERATION CYCLE WITH THE INJECTION OF A HIGH DENSITY FLUID INTO A...EJECTOR REFRIGERATION CYCLE WITH THE INJECTION OF A HIGH DENSITY FLUID INTO A...
EJECTOR REFRIGERATION CYCLE WITH THE INJECTION OF A HIGH DENSITY FLUID INTO A...marijomiljkovic1
 
Flutter GDE session GDSC ZHCET AMU, aligarh
Flutter GDE session GDSC ZHCET AMU, aligarhFlutter GDE session GDSC ZHCET AMU, aligarh
Flutter GDE session GDSC ZHCET AMU, aligarhjamesbond00714
 
PhD summary of Luuk Brederode, presented at 2023-10-17 to Veitch Lister Consu...
PhD summary of Luuk Brederode, presented at 2023-10-17 to Veitch Lister Consu...PhD summary of Luuk Brederode, presented at 2023-10-17 to Veitch Lister Consu...
PhD summary of Luuk Brederode, presented at 2023-10-17 to Veitch Lister Consu...Luuk Brederode
 
Navigating Process Safety through Automation and Digitalization in the Oil an...
Navigating Process Safety through Automation and Digitalization in the Oil an...Navigating Process Safety through Automation and Digitalization in the Oil an...
Navigating Process Safety through Automation and Digitalization in the Oil an...soginsider
 
NIPORT Home Economics Questions Solution 2024.pdf
NIPORT Home Economics Questions Solution 2024.pdfNIPORT Home Economics Questions Solution 2024.pdf
NIPORT Home Economics Questions Solution 2024.pdfMohonDas
 
Final PPT.ppt about human detection and counting
Final PPT.ppt  about human detection and countingFinal PPT.ppt  about human detection and counting
Final PPT.ppt about human detection and countingArbazAhmad25
 
pulse modulation technique (Pulse code modulation).pptx
pulse modulation technique (Pulse code modulation).pptxpulse modulation technique (Pulse code modulation).pptx
pulse modulation technique (Pulse code modulation).pptxNishanth Asmi
 
Injection Power Cycle - The most efficient power cycle
Injection Power Cycle - The most efficient power cycleInjection Power Cycle - The most efficient power cycle
Injection Power Cycle - The most efficient power cyclemarijomiljkovic1
 
Research paper publications: Meaning of Q1 Q2 Q3 Q4 Journal
Research paper publications: Meaning of Q1 Q2 Q3 Q4 JournalResearch paper publications: Meaning of Q1 Q2 Q3 Q4 Journal
Research paper publications: Meaning of Q1 Q2 Q3 Q4 JournalDr. Manjunatha. P
 
Introduction to Machine Learning Unit-2 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-2 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-2 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-2 Notes for II-II Mechanical EngineeringC Sai Kiran
 
autonomous_vehicle_working_paper_01072020-_508_compliant.pdf
autonomous_vehicle_working_paper_01072020-_508_compliant.pdfautonomous_vehicle_working_paper_01072020-_508_compliant.pdf
autonomous_vehicle_working_paper_01072020-_508_compliant.pdfPandurangGurakhe
 
Field Report on present condition of Ward 1 and Ward 2 of Pabna Municipality
Field Report on present condition of Ward 1 and Ward 2 of Pabna MunicipalityField Report on present condition of Ward 1 and Ward 2 of Pabna Municipality
Field Report on present condition of Ward 1 and Ward 2 of Pabna MunicipalityMorshed Ahmed Rahath
 

Último (20)

This chapter gives an outline of the security.
This chapter gives an outline of the security.This chapter gives an outline of the security.
This chapter gives an outline of the security.
 
Governors ppt.pdf .
Governors ppt.pdf                              .Governors ppt.pdf                              .
Governors ppt.pdf .
 
zomato data mining datasets for quality prefernece and conntrol.pptx
zomato data mining  datasets for quality prefernece and conntrol.pptxzomato data mining  datasets for quality prefernece and conntrol.pptx
zomato data mining datasets for quality prefernece and conntrol.pptx
 
Caltrans District 8 Update for the CalAPA Spring Asphalt Conference 2024
Caltrans District 8 Update for the CalAPA Spring Asphalt Conference 2024Caltrans District 8 Update for the CalAPA Spring Asphalt Conference 2024
Caltrans District 8 Update for the CalAPA Spring Asphalt Conference 2024
 
First Review Group 1 PPT.pptx with slide
First Review Group 1 PPT.pptx with slideFirst Review Group 1 PPT.pptx with slide
First Review Group 1 PPT.pptx with slide
 
EJECTOR REFRIGERATION CYCLE WITH THE INJECTION OF A HIGH DENSITY FLUID INTO A...
EJECTOR REFRIGERATION CYCLE WITH THE INJECTION OF A HIGH DENSITY FLUID INTO A...EJECTOR REFRIGERATION CYCLE WITH THE INJECTION OF A HIGH DENSITY FLUID INTO A...
EJECTOR REFRIGERATION CYCLE WITH THE INJECTION OF A HIGH DENSITY FLUID INTO A...
 
Flutter GDE session GDSC ZHCET AMU, aligarh
Flutter GDE session GDSC ZHCET AMU, aligarhFlutter GDE session GDSC ZHCET AMU, aligarh
Flutter GDE session GDSC ZHCET AMU, aligarh
 
PhD summary of Luuk Brederode, presented at 2023-10-17 to Veitch Lister Consu...
PhD summary of Luuk Brederode, presented at 2023-10-17 to Veitch Lister Consu...PhD summary of Luuk Brederode, presented at 2023-10-17 to Veitch Lister Consu...
PhD summary of Luuk Brederode, presented at 2023-10-17 to Veitch Lister Consu...
 
Navigating Process Safety through Automation and Digitalization in the Oil an...
Navigating Process Safety through Automation and Digitalization in the Oil an...Navigating Process Safety through Automation and Digitalization in the Oil an...
Navigating Process Safety through Automation and Digitalization in the Oil an...
 
NIPORT Home Economics Questions Solution 2024.pdf
NIPORT Home Economics Questions Solution 2024.pdfNIPORT Home Economics Questions Solution 2024.pdf
NIPORT Home Economics Questions Solution 2024.pdf
 
Final PPT.ppt about human detection and counting
Final PPT.ppt  about human detection and countingFinal PPT.ppt  about human detection and counting
Final PPT.ppt about human detection and counting
 
pulse modulation technique (Pulse code modulation).pptx
pulse modulation technique (Pulse code modulation).pptxpulse modulation technique (Pulse code modulation).pptx
pulse modulation technique (Pulse code modulation).pptx
 
Injection Power Cycle - The most efficient power cycle
Injection Power Cycle - The most efficient power cycleInjection Power Cycle - The most efficient power cycle
Injection Power Cycle - The most efficient power cycle
 
Research paper publications: Meaning of Q1 Q2 Q3 Q4 Journal
Research paper publications: Meaning of Q1 Q2 Q3 Q4 JournalResearch paper publications: Meaning of Q1 Q2 Q3 Q4 Journal
Research paper publications: Meaning of Q1 Q2 Q3 Q4 Journal
 
Introduction to Machine Learning Unit-2 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-2 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-2 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-2 Notes for II-II Mechanical Engineering
 
autonomous_vehicle_working_paper_01072020-_508_compliant.pdf
autonomous_vehicle_working_paper_01072020-_508_compliant.pdfautonomous_vehicle_working_paper_01072020-_508_compliant.pdf
autonomous_vehicle_working_paper_01072020-_508_compliant.pdf
 
Update on the latest research with regard to RAP
Update on the latest research with regard to RAPUpdate on the latest research with regard to RAP
Update on the latest research with regard to RAP
 
Industry perspective on cold in-place recycling
Industry perspective on cold in-place recyclingIndustry perspective on cold in-place recycling
Industry perspective on cold in-place recycling
 
Field Report on present condition of Ward 1 and Ward 2 of Pabna Municipality
Field Report on present condition of Ward 1 and Ward 2 of Pabna MunicipalityField Report on present condition of Ward 1 and Ward 2 of Pabna Municipality
Field Report on present condition of Ward 1 and Ward 2 of Pabna Municipality
 
Caltrans view on recycling of in-place asphalt pavements
Caltrans view on recycling of in-place asphalt pavementsCaltrans view on recycling of in-place asphalt pavements
Caltrans view on recycling of in-place asphalt pavements
 

Ruby programming

  • 1. SEMINAR ON RUBY PROGRAMMING Presented by :- Kartik N. Kalpande.
  • 2. CONTENTS  Introduction  History  Overview of ruby programing  Application and tool needed for Ruby  Different from other language  Advantages of Ruby programing  Disadvantages of programing  Example of Ruby programing  Conclusion
  • 3. INTRODUCTION Ruby was created by Yukihiro Matsumoto, or "Matz", in Japan in the mid 1990's.
  • 4. HISTORY  Born Feb 24, 1993 – Yukihiro ”Matz” Matsumoto  Ruby 0.95 – announced Dec 21, 1995  – OO, Inheritance, iterators, exception handling, garbage collection  Ruby 1.0 – released Dec 25, 1996  Ruby 1.3 – 1999  – After its release an English ”Ruby” mailing list was created  Ruby on Rails – 2005  – MVC web framework coded with Ruby  Ruby 1.9.1 – Latest version
  • 5. OVERVIEW OF RUBY PROGRAMMING  Ruby – Scripting language, dynamic and object oriented  Allows rapid development and rapid prototypes of software  Consists of useful string operations and regular expressions  Everything in Ruby is an object  Has automatic garbage collection  Instant feedback when developing  Multiple OS support and open source
  • 6. TOOLS NEEDED FOR RUBY The Ruby interpreter A text editor such as Notepad++, Scite or Vim.Word processors such as Wordpad or Microsoft Word are not suitable. Command-line access.
  • 7. DIFFERENT FROM OTHER LANGUAGE  Objects are strongly typed (and variable names themselves have no type at all).  No pointers ,no typedefs, sizeof, nor enums.  There are no header files.  There’s no #define. Just use constants instead.
  • 8. PROGRAM FOR FACTORIAL NO .  def fact(n) if n == 0 1 else n * fact(n-1) end end puts fact(ARGV[0].to_i)
  • 9. ADVANTAGES Clean code.  Easy to learn.  Documention and support. Open Source.  Object oriented.
  • 10. DISADVANTAGES Ruby's development and updates are slower. It is a slower programing language
  • 11. CONCLUSION  Ruby is an object oriented language and the object oriented features are used throughout. Ruby is that doesn’t require a lot of extra punctuation. Compared to Java, Ruby is streamlined, with less code required to create basic structures such as data fields. Ruby is a modern language that makes it easy to use high-level abstractions such as metaprogramming.
  • 12. REFERENCES  http://www.fincher.org/tips/Languages/Ruby/  http://www.rubylang.  org/en/about/  http://www.rubylang.  org/en/documentation/quickstart/  http://en.wikipedia.org/wiki/Ruby_%28program ming_language%29  http://articles.sitepoint.com/article/learnrubyonra ils