Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Posts about Ruby

Ruby language tutorial

May 12, 2021 05:00 0 Comment Ruby

Ruby language tutorial, Ruby language tutorial, Who is fit to read this tutorial?, What you need to know before you read this tutorial:, Compile/execute ruby programs, Instance, Ruby language, tutorial, Ruby is an open source, object-oriented, object-oriented scripting language designed and developed in the mid-1990s by Hirosh

Introduction to Ruby

May 12, 2021 05:00 0 Comment Ruby

Introduction to Ruby, Introduction to Ruby, Ruby's features, The tools you need, What will you learn next?, Introduction to, Ruby, Ruby is a pure object-oriented programming language., It was founded in 1993 つ とゆきひろ Hiroshi Matsumoto, Japan., You www.ruby-la

Ruby environment

May 12, 2021 05:00 0 Comment Ruby

Ruby environment, Ruby environment, Local environment settings, Popular Ruby editor, Interactive Ruby (IRb), What will you learn next?, Ruby, environment, Local environment settings, If you want to set up an environment for the Ruby programming language, read this section. T, his chapt

Ruby Installation - Unix

May 12, 2021 05:00 0 Comment Ruby

Ruby Installation - Unix, Ruby Installation - Unix, Install Ruby automatically, Ruby, Installation - Unix, The steps for installing Ruby on unix machines are listed below., Note: Before, you install, make sure that you have root p

Ruby Installation - Windows

May 12, 2021 05:00 0 Comment Ruby

Ruby Installation - Windows, The steps to install Ruby on a Windows machine are listed below., Note: You, may have different available versions when you install., Under the Window

Ruby Chinese code

May 12, 2021 06:00 0 Comment Ruby

Ruby Chinese code, Ruby Chinese code, Instance, Ruby Chinese code, In the previous sections we learned how to output "Hello, World!" with Ruby, no problem in English, but if you output the Chinese c

Ruby command line options

May 12, 2021 06:00 0 Comment Ruby

Ruby command line options, Ruby command line options, Ruby, command line options, Ruby typically runs from the command line in the following way:, $ ruby [ options ] [.] [ programfile ] [ arguments ... ],

Ruby environment variables

May 12, 2021 06:00 0 Comment Ruby

Ruby environment variable, Ruby environment variable, Ruby, environment variable, Ruby interpreters use the following environment variables to control its behavior., The ENV object contains a list of all

Ruby syntax

May 12, 2021 06:00 0 Comment Ruby

Ruby syntax, Ruby syntax, Instance, White space in Ruby's program, The end of the line in the Ruby program, Ruby identifier, Keep the word, Here Document in Ruby, Ruby BEGIN statement, Ruby END statement, Ruby comments, Ruby, syntax, Let's write a simple Ruby program. A, ll Ruby file extensions are, .rb., So put the following source code in the test.rb file., Instance

Ruby data type

May 12, 2021 06:00 0 Comment Ruby

Ruby data type, Ruby data type, Numeric Type (Number), The type of string, Instance, Array, Instance, Hash type, Instance, The range type, Instance, Ruby data type, In this section, we'll introduce you to Ruby's basic data types., Ruby supports data types such as basic Number, String, Ranges, Symbo

Ruby classes and objects

May 12, 2021 06:00 0 Comment Ruby

Ruby classes and objects, Ruby classes and objects, Define the class in Ruby, The variable in the Ruby class, Instance, Use the new method to create objects in Ruby, Custom methods to create Ruby objects, A member function in a Ruby class, Simple case studies, Ruby, classes and objects, Ruby is the perfect object-oriented programming language., Features of object-oriented programming languages include:, Data

Ruby class case

May 12, 2021 06:00 0 Comment Ruby

Ruby class case, Ruby class case, Save and execute the code, Ruby, class case, Here's a Ruby class called Customer, and you'll declare two methods:, display_details: This, method is used to display the customer'

Ruby variable

May 12, 2021 06:00 0 Comment Ruby

Ruby variable, Ruby variable, Ruby global variable, Ruby instance variable, Ruby class variable, Ruby local variable, Ruby constant, Ruby pseudovaris, Ruby, variable, A variable is a storage location that holds any data that can be used by any program., Ruby supports five types of variables., General

Ruby operator

May 12, 2021 06:00 0 Comment Ruby

Ruby operator, Ruby operator, Ruby arithmetic operator, Ruby comparison operator, Ruby assignment operator, Ruby is assigned in parallel, Ruby bit operator, Ruby logical operator, Ruby 3 operator, Ruby range operator, Ruby defined? Operator, Usage 1, Usage 2, Usage 3, Usage 4, Ruby point operator "." and dual colon operator "::", The priority of the Ruby operator, Ruby, operator, Ruby supports a rich set of operators. M, ost operators are actually method calls., For example, a plus b is interpreted as a.plus (b)

Ruby comments

May 12, 2021 06:00 0 Comment Ruby

Ruby comments, Ruby comments, Instance, Ruby multi-line comments, Ruby, comments, Comments are comment lines within Ruby code that are ignored at run time., A single-line comment starts with the character , until the