Ruby memo

Ruby-About Hashes-

Variable name = {symbol: value 1, symbol: value 2} puts variable name [: symbol]

qiita.rb


cat = {name: "siro", age: 23}
put cat[:name]

It's similar to js, ​​but the output notation is different, so be careful! : smile:

Recommended Posts

Ruby memo
[wip] Ruby memo
ruby basic syntax memo
Ruby study memo (conditional branching)
[Self-use memo] (Ruby) class, class instance, instance
Personal memo Progate Ruby I (2)
Ruby study memo (recursive function)
Personal memo Progate Ruby I (1)
ruby exercise memo I (puts)
[Ruby ~ Iterative processing ~] Study memo 4
Integer memo
docker memo
Ruby design pattern template method pattern memo
[Ruby] Array
Ruby basics
Ruby learning 5
Ruby basics
ruby exercise memo VI (hello class)
Ruby Review 2
Ruby addition
Lombok memo
Dockerfile memo
Iterator memo
Ruby learning 3
corretto memo
Java memo
AWS memo
Ruby Study Memo (Test Driven Development)
Ruby on Rails 6.0 environment construction memo
String output method memo in Ruby
Ruby setting 2
Ruby problem ⑦
Ruby learning 2
[Ruby] Block
Refactoring Ruby
ruby calculator
Ruby settings 1
Dcokerfile memo
Refactoring Ruby
[Note] [Beginner] Ruby writing memo (refactoring) 1
Ruby learning 1
Ruby Review 1
[Ruby] Module
Memo Stream
Ruby on Rails6 Practical Guide cp13 ~ cp15 [Memo]
Ruby on Rails6 Practical Guide cp7 ~ cp9 [Memo]
Ruby on Rails6 Practical Guide cp4 ~ cp6 [Memo]
Ruby on Rails6 Practical Guide cp10 ~ cp12 [Memo]
Ruby on Rails6 Practical Guide cp16 ~ cp18 [Memo]
Spring retrospective memo
docker tutorial (memo)
java anything memo
Introduction to Ruby 2
primary key memo
Ruby input / output
ruby Uppercase letters
Stream API memo
ruby search problem
Ruby Learning # 25 Comments
ruby constant variable
Ruby to_s method