ruby.docx - Ruby(programming language From Wikipedia the free encyclopedia Jump to navigationJump to search This article is about the programming

ruby.docx - Ruby(programming language From Wikipedia the...

This preview shows page 1 - 5 out of 8 pages.

Ruby (programming language) From Wikipedia, the free encyclopedia Jump to navigation Jump to search This article is about the programming language. For other uses, see Ruby (disambiguation) . Not to be confused with Ruby on Rails . Ruby Paradigm Multi-paradigm : Object-oriented , imperative , fu nctional , reflective Designed by Yukihiro Matsumoto Developer Yukihiro Matsumoto, et al. First appeared 1995; 23 years ago Stable release 2.5.3 (October 18, 2018; 21 days ago [1] ) [±] Typing discipline Duck , dynamic , strong Scope Lexical, sometimes dynamic Implementation language C OS Cross-platform License Ruby , GPLv2 or 2-clause BSD license [2] [3] [4]
Filename extensions .rb Website Major implementations Ruby MRI , YARV , Rubinius , MagLev , JRuby , MacRuby , RubyMotion , Mru by Influenced by Ada , [5] C++ , [5] CLU , [6] Dylan , [6] Eiffel , [5] Lisp , [6] Lua , Perl , [6] Python , [6] Sma lltalk [6] Influenced Clojure , CoffeeScript , Crystal , D , Elixir , Falcon , Groovy , Ioke , [7] Julia , [8] Mirah , Nu , [9] Reia , Ring , [10] Rust , Swift [11] Ruby Programming at Wikibooks Ruby is a dynamic , interpreted , reflective , object-oriented , general-purpose programming language . It was designed and developed in the mid-1990s by Yukihiro "Matz" Matsumoto in Japan . According to the creator, Ruby was influenced by Perl , Smalltalk , Eiffel , Ada , and Lisp . [12] It supports multiple programming paradigms , including functional , object-oriented , and imperative . It also has a dynamic type system and automatic memory management . Contents 1 History o 1.1 Early concept 1.1.1 The name "Ruby" o 1.2 First publication o 1.3 Early releases
o 1.4 Ruby 1.8 o 1.5 Ruby 1.9 o 1.6 Ruby 2.0 o 1.7 Ruby 2.1 o 1.8 Ruby 2.2 o 1.9 Ruby 2.3 o 1.10 Ruby 2.4 o 1.11 Ruby 2.5 2 Table of versions 3 Philosophy 4 Features 5 Semantics 6 Syntax 7 Interaction 8 Examples o 8.1 Strings o 8.2 Collections o 8.3 Control structures o 8.4 Blocks and iterators o 8.5 Classes 8.5.1 Open classes o 8.6 Exceptions o 8.7 Metaprogramming o 8.8 More examples 9 Implementations
o 9.1 Matz's Ruby interpreter o 9.2 Alternate implementations o 9.3 Platform support 10 Repositories and libraries 11 See also 12 References 13 Further reading 14 External links History [ edit ] Early concept [ edit ] Matsumoto has said that Ruby was conceived in 1993. In a 1999 post to the ruby-talk mailing list, he describes some of his early ideas about the language: [13] I was talking with my colleague about the possibility of an object-oriented scripting language. I knew Perl (Perl4, not Perl5), but I didn't like it really, because it had the smell of a toy language (it still has). The object-oriented language seemed very promising. I knew Python then. But I didn't like it, because I didn't think it was a true object-oriented language – OO features appeared to be add-on to the language. As a language maniac and OO fan for 15 years, I really wanted a genuine object- oriented, easy-to-use scripting language. I looked for but couldn't find one. So I decided to make it.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture