[RUBY] About the method

Method

** Instructions in a program are called methods. A method is a collection of some processing in programming. By writing the method name in the program, the processing of that method can be executed. ** **

メソッド.png

Ruby has a lot of useful methods. For example, invoking character input mode in the terminal, the specified character Methods such as outputting to a terminal. Also, some methods can only be used for specific values.

Strings also have methods that you can use.

Summary

** A method is a collection of some processing in programming. ** **

that's all.

Recommended Posts

About the method
Output about the method # 2
About the length method
About the authenticate method.
About the map method
About the ancestors method
About the to_s method.
Output about the method Part 1
about the where method (rails)
Consideration about the times method
About the role of the initialize method
About the package
About No Method Error
About the StringBuilder class
Commentary: About the interface
About the asset pipeline
About the function double-java
About Java method binding
About the ternary operator
About method splitting (Java)
About the Kernel module
[Output] About the database
About the [ruby] operator
About the handling of Null
About specifying the JAXRS path
Method
Note the StringUtils # containsAny method
What is the pluck method?
A note about the scope
About the description of Docker-compose.yml
About the File :: Stat class
[Java Silver] About equals method
Understand the helper method form_with
About the same and equivalent
About the Android life cycle
About the explanation about functional type
About =
About the programming language Crystal
About Rails scraping method Mechanize
What is the initialize method?
[Ruby] Questions and verification about the number of method arguments
How to use the link_to method
About the behavior of ruby Hash # ==
Simulate the simplex method with GUI
About the language to be learned
How to use the include? method
How to use the form_with method
[Rails] About the Punk List function
About the equals () and hashcode () methods
About the symbol <%%> in Rails erb
About the information sharing app band
Java comparison using the compareTo () method
About the current development environment (Java 8)
I tried to explain the method
A murmur about the utility class
[Rails] About helper method form_with [Basic]
Think about the 7 rules of Optional
[Rails 6] destroy using the resources method
Was that so, the user_signed_in? method
Summary about the introduction of Device
About the log level of java.util.logging.Logger