$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Hello Ruby
Search
ender
October 26, 2017
Technology
0
34
Hello Ruby
Ruby 101 @ IA University
ender
October 26, 2017
Tweet
Share
More Decks by ender
See All by ender
Hotwire ile Modern Web'in Geleceği
ndrx42
0
11
Haaave you met Ruby on Rails?
ndrx42
0
43
Hello Ruby on Rails
ndrx42
0
47
Kıymetlimiz "Ruby Gems"
ndrx42
0
49
Ruby 101
ndrx42
0
46
Other Decks in Technology
See All in Technology
Karate+Database RiderによるAPI自動テスト導入工数をCline+GitLab MCPを使って2割削減を目指す! / 20251206 Kazuki Takahashi
shift_evolve
PRO
1
720
プロンプトやエージェントを自動的に作る方法
shibuiwilliam
0
520
AI 駆動開発勉強会 フロントエンド支部 #1 w/あずもば
1ftseabass
PRO
0
340
生成AI活用の型ハンズオン〜顧客課題起点で設計する7つのステップ
yushin_n
0
140
SSO方式とJumpアカウント方式の比較と設計方針
yuobayashi
7
600
寫了幾年 Code,然後呢?軟體工程師必須重新認識的 DevOps
cheng_wei_chen
1
1.4k
最近のLinux普段づかいWaylandデスクトップ元年
penguin2716
1
690
エンジニアリングマネージャー はじめての目標設定と評価
halkt
0
280
Reinforcement Fine-tuning 基礎〜実践まで
ch6noota
0
170
WordPress は終わったのか ~今のWordPress の制作手法ってなにがあんねん?~ / Is WordPress Over? How We Build with WordPress Today
tbshiki
1
710
初めてのDatabricks AI/BI Genie
taka_aki
0
110
Rubyで楽して タスクを書きたい!
ahogappa
0
110
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
A designer walks into a library…
pauljervisheath
210
24k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
390
Done Done
chrislema
186
16k
Building Flexible Design Systems
yeseniaperezcruz
330
39k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Speed Design
sergeychernyshev
33
1.4k
Designing for Performance
lara
610
69k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.3k
Transcript
Hello Ruby Ender Ahmet Yurt www.enderahmetyurt.com
Ender Ahmet Yurt Full Stack Developer @ sigortaci123.com Ruby Türkiye
Organizer Yakut Podcast Speaker Open Source Developer
Context •Ruby •What’s it? •Features •Installation •First steps •Irb/Pry •First
program •Basics •Concepts •More… •Questions
Ruby •Yukihiro Matsumoto (Matz) •First version 1995 •Aim: Make developers
happy •Open source https://github.com/ruby/ruby •Ruby 2.5.0-preview1 (10.10.2017)
Features •Pure •Everthing is an object •Easy coding •Readable like
English •More ways to do a job •Dynamic language •Scripting language •Powerful communities •Global •Turkey rubyturkiye.org •Ruby Gems rubygems.org
Installation •OSX •Installed •RVM/RbEnv •Linux •apt-get install ruby <version> •RVM/RbEnv
•Windows •rubyinstaller.org
Irb/Pry •Irb (Interactive Ruby) •Pry (Alternative Ruby Gem) •gem install
pry
First Program
Basic IO Processes
Basics •Variables •Numbers •Arrays •Hashes •Flows •Loops •Methods •Classes •OO
•Modules •Proc/Lambda
Variables •Local variables •Global variables •Class variables •Instance variables •Constants
•Symbols
Numbers •Numeric •Integer •Fixnum •Bignum •Float •Complex •BigDecimal •Rational
Arrays •Initialize •Swap •Join & Delete •Enumerable methods
Hashes •What is it? •Key-value pair •Enumerable methods
Flows •True, False, Nil •NOT (!) •If-else-elsif-unless •Case when •Conditional
Assignment
Loops •for •while •until •loop (next/break) •each •each_with_index
Methods •What is it? •Type of parameters •Return
Classes •Basics •Attributes •Methods •Inheritance
Modules •Namespace •Mixins •include •exclude
Blocks •Anonymous functions •{} •yield •Procs •Lambda
Procs •Block is not an object •Proc is an object
•p = Proc.new {}
Lambda •A Proc object •l = lambda {}
Proc vs Lambda •Number of parameters •Not important for Procs
•Important for Lambdas •Return formats for methods •Procs not continue •Lambdas continues
More •Error handling •File process •RubyGems •Regex •Metaprogramming •Web programming
•Ruby on Rails •Developing a real product
Questions? Thanks ❤ enderahmetyurt.com rubyturkiye.org yakutrb.com