Submit Search
Upload
Week2
•
Download as KEY, PDF
•
0 likes
•
278 views
R
reneedv
Follow
UWE-Ruby Fall 2012 Week
Read less
Read more
Report
Share
Report
Share
1 of 22
Download now
Recommended
Ruby Presentation - Beamer
Ruby Presentation - Beamer
Christopher Giroir
Ruby Presentation
Ruby Presentation
platico_dev
JavaScript Essentials for Ember development
JavaScript Essentials for Ember development
Leo Hernandez
Ruby Programming Language - Introduction
Ruby Programming Language - Introduction
Kwangshin Oh
Kotlin L → ∞
Kotlin L → ∞
Abdellah SELASSI
Ruby programming
Ruby programming
Kartik Kalpande Patil
Mobile Software Engineering Crash Course - C02 Java Primer
Mobile Software Engineering Crash Course - C02 Java Primer
Mohammad Shaker
Introduction to Ruby
Introduction to Ruby
kim.mens
Recommended
Ruby Presentation - Beamer
Ruby Presentation - Beamer
Christopher Giroir
Ruby Presentation
Ruby Presentation
platico_dev
JavaScript Essentials for Ember development
JavaScript Essentials for Ember development
Leo Hernandez
Ruby Programming Language - Introduction
Ruby Programming Language - Introduction
Kwangshin Oh
Kotlin L → ∞
Kotlin L → ∞
Abdellah SELASSI
Ruby programming
Ruby programming
Kartik Kalpande Patil
Mobile Software Engineering Crash Course - C02 Java Primer
Mobile Software Engineering Crash Course - C02 Java Primer
Mohammad Shaker
Introduction to Ruby
Introduction to Ruby
kim.mens
Introduction to Ruby
Introduction to Ruby
Mark Menard
TypeProf for IDE: Enrich Development Experience without Annotations
TypeProf for IDE: Enrich Development Experience without Annotations
mametter
A Type-level Ruby Interpreter for Testing and Understanding
A Type-level Ruby Interpreter for Testing and Understanding
mametter
Bldr: A Minimalist JSON Templating DSL
Bldr: A Minimalist JSON Templating DSL
Alex Sharp
Enjoy Ruby Programming in IDE and TypeProf
Enjoy Ruby Programming in IDE and TypeProf
mametter
A Test Code Generator for RSpec Users
A Test Code Generator for RSpec Users
Kazuhiro Sera
Iron* - An Introduction to Getting Dynamic on .NET
Iron* - An Introduction to Getting Dynamic on .NET
Kristian Kristensen
OOPS Advanced
OOPS Advanced
Madhavan Malolan
Getting started with typescript and angular 2
Getting started with typescript and angular 2
Knoldus Inc.
Type Profiler: An Analysis to guess type signatures
Type Profiler: An Analysis to guess type signatures
mametter
Type Profiler: Ambitious Type Inference for Ruby 3
Type Profiler: Ambitious Type Inference for Ruby 3
mametter
The Ruby Racer: under the hood
The Ruby Racer: under the hood
cowboyd
A Plan towards Ruby 3 Types
A Plan towards Ruby 3 Types
mametter
Ruby introductions
Ruby introductions
Binh Bui
Dynamic Language Performance
Dynamic Language Performance
Kevin Hazzard
Continuations in scala (incomplete version)
Continuations in scala (incomplete version)
Fuqiang Wang
Advanced Reflection in Pharo
Advanced Reflection in Pharo
Marcus Denker
Actor-based concurrency and Akka Fundamentals
Actor-based concurrency and Akka Fundamentals
Ngoc Dao
Scala the-good-parts
Scala the-good-parts
Fuqiang Wang
Groovy / comparison with java
Groovy / comparison with java
Liviu Tudor
Workin ontherailsroad
Workin ontherailsroad
Jim Jones
WorkinOnTheRailsRoad
WorkinOnTheRailsRoad
webuploader
More Related Content
What's hot
Introduction to Ruby
Introduction to Ruby
Mark Menard
TypeProf for IDE: Enrich Development Experience without Annotations
TypeProf for IDE: Enrich Development Experience without Annotations
mametter
A Type-level Ruby Interpreter for Testing and Understanding
A Type-level Ruby Interpreter for Testing and Understanding
mametter
Bldr: A Minimalist JSON Templating DSL
Bldr: A Minimalist JSON Templating DSL
Alex Sharp
Enjoy Ruby Programming in IDE and TypeProf
Enjoy Ruby Programming in IDE and TypeProf
mametter
A Test Code Generator for RSpec Users
A Test Code Generator for RSpec Users
Kazuhiro Sera
Iron* - An Introduction to Getting Dynamic on .NET
Iron* - An Introduction to Getting Dynamic on .NET
Kristian Kristensen
OOPS Advanced
OOPS Advanced
Madhavan Malolan
Getting started with typescript and angular 2
Getting started with typescript and angular 2
Knoldus Inc.
Type Profiler: An Analysis to guess type signatures
Type Profiler: An Analysis to guess type signatures
mametter
Type Profiler: Ambitious Type Inference for Ruby 3
Type Profiler: Ambitious Type Inference for Ruby 3
mametter
The Ruby Racer: under the hood
The Ruby Racer: under the hood
cowboyd
A Plan towards Ruby 3 Types
A Plan towards Ruby 3 Types
mametter
Ruby introductions
Ruby introductions
Binh Bui
Dynamic Language Performance
Dynamic Language Performance
Kevin Hazzard
Continuations in scala (incomplete version)
Continuations in scala (incomplete version)
Fuqiang Wang
Advanced Reflection in Pharo
Advanced Reflection in Pharo
Marcus Denker
Actor-based concurrency and Akka Fundamentals
Actor-based concurrency and Akka Fundamentals
Ngoc Dao
Scala the-good-parts
Scala the-good-parts
Fuqiang Wang
Groovy / comparison with java
Groovy / comparison with java
Liviu Tudor
What's hot
(20)
Introduction to Ruby
Introduction to Ruby
TypeProf for IDE: Enrich Development Experience without Annotations
TypeProf for IDE: Enrich Development Experience without Annotations
A Type-level Ruby Interpreter for Testing and Understanding
A Type-level Ruby Interpreter for Testing and Understanding
Bldr: A Minimalist JSON Templating DSL
Bldr: A Minimalist JSON Templating DSL
Enjoy Ruby Programming in IDE and TypeProf
Enjoy Ruby Programming in IDE and TypeProf
A Test Code Generator for RSpec Users
A Test Code Generator for RSpec Users
Iron* - An Introduction to Getting Dynamic on .NET
Iron* - An Introduction to Getting Dynamic on .NET
OOPS Advanced
OOPS Advanced
Getting started with typescript and angular 2
Getting started with typescript and angular 2
Type Profiler: An Analysis to guess type signatures
Type Profiler: An Analysis to guess type signatures
Type Profiler: Ambitious Type Inference for Ruby 3
Type Profiler: Ambitious Type Inference for Ruby 3
The Ruby Racer: under the hood
The Ruby Racer: under the hood
A Plan towards Ruby 3 Types
A Plan towards Ruby 3 Types
Ruby introductions
Ruby introductions
Dynamic Language Performance
Dynamic Language Performance
Continuations in scala (incomplete version)
Continuations in scala (incomplete version)
Advanced Reflection in Pharo
Advanced Reflection in Pharo
Actor-based concurrency and Akka Fundamentals
Actor-based concurrency and Akka Fundamentals
Scala the-good-parts
Scala the-good-parts
Groovy / comparison with java
Groovy / comparison with java
Similar to Week2
Workin ontherailsroad
Workin ontherailsroad
Jim Jones
WorkinOnTheRailsRoad
WorkinOnTheRailsRoad
webuploader
Meta Programming in Ruby - Code Camp 2010
Meta Programming in Ruby - Code Camp 2010
ssoroka
Intro To Ror
Intro To Ror
myuser
How DSL works on Ruby
How DSL works on Ruby
Hiroshi SHIBATA
Ruby an overall approach
Ruby an overall approach
Felipe Schmitt
Ruby on Rails Training - Module 1
Ruby on Rails Training - Module 1
Mark Menard
Ruby tutorial
Ruby tutorial
knoppix
Page List & Sample Material (Repaired)
Page List & Sample Material (Repaired)
Muhammad Haseeb Shahid
Gemification for Ruby 2.5/3.0
Gemification for Ruby 2.5/3.0
Hiroshi SHIBATA
Learn Ruby 2011 - Session 1
Learn Ruby 2011 - Session 1
James Thompson
Ruby Metaprogramming 08
Ruby Metaprogramming 08
Brian Sam-Bodden
2016-05-12 DCRUG React.rb
2016-05-12 DCRUG React.rb
awwaiid
Ruby Metaprogramming - OSCON 2008
Ruby Metaprogramming - OSCON 2008
Brian Sam-Bodden
On the path to become a jr. developer short version
On the path to become a jr. developer short version
Antonelo Schoepf
Ruby 4.0 To Infinity and Beyond at Ruby Conference Kenya 2017 by Bozhidar Batsov
Ruby 4.0 To Infinity and Beyond at Ruby Conference Kenya 2017 by Bozhidar Batsov
Michael Kimathi
Rubyon Rails
Rubyon Rails
Kevin Gisi
ruby_vs_perl_and_python
ruby_vs_perl_and_python
tutorialsruby
ruby_vs_perl_and_python
ruby_vs_perl_and_python
tutorialsruby
Exploring Ruby on Rails and PostgreSQL
Exploring Ruby on Rails and PostgreSQL
Barry Jones
Similar to Week2
(20)
Workin ontherailsroad
Workin ontherailsroad
WorkinOnTheRailsRoad
WorkinOnTheRailsRoad
Meta Programming in Ruby - Code Camp 2010
Meta Programming in Ruby - Code Camp 2010
Intro To Ror
Intro To Ror
How DSL works on Ruby
How DSL works on Ruby
Ruby an overall approach
Ruby an overall approach
Ruby on Rails Training - Module 1
Ruby on Rails Training - Module 1
Ruby tutorial
Ruby tutorial
Page List & Sample Material (Repaired)
Page List & Sample Material (Repaired)
Gemification for Ruby 2.5/3.0
Gemification for Ruby 2.5/3.0
Learn Ruby 2011 - Session 1
Learn Ruby 2011 - Session 1
Ruby Metaprogramming 08
Ruby Metaprogramming 08
2016-05-12 DCRUG React.rb
2016-05-12 DCRUG React.rb
Ruby Metaprogramming - OSCON 2008
Ruby Metaprogramming - OSCON 2008
On the path to become a jr. developer short version
On the path to become a jr. developer short version
Ruby 4.0 To Infinity and Beyond at Ruby Conference Kenya 2017 by Bozhidar Batsov
Ruby 4.0 To Infinity and Beyond at Ruby Conference Kenya 2017 by Bozhidar Batsov
Rubyon Rails
Rubyon Rails
ruby_vs_perl_and_python
ruby_vs_perl_and_python
ruby_vs_perl_and_python
ruby_vs_perl_and_python
Exploring Ruby on Rails and PostgreSQL
Exploring Ruby on Rails and PostgreSQL
More from reneedv
Nginx caching
Nginx caching
reneedv
Week10
Week10
reneedv
Week9
Week9
reneedv
Week7
Week7
reneedv
Week6
Week6
reneedv
Week5
Week5
reneedv
Week4
Week4
reneedv
Week3
Week3
reneedv
Week1
Week1
reneedv
Fill Up your Bookshelves!
Fill Up your Bookshelves!
reneedv
Dealing with Legacy <del>Code</del> People
Dealing with Legacy <del>Code</del> People
reneedv
Whose Wife Are You?
Whose Wife Are You?
reneedv
How I Learned to Smell Code
How I Learned to Smell Code
reneedv
RailsBrdige Seattle Workshop Intro
RailsBrdige Seattle Workshop Intro
reneedv
More from reneedv
(14)
Nginx caching
Nginx caching
Week10
Week10
Week9
Week9
Week7
Week7
Week6
Week6
Week5
Week5
Week4
Week4
Week3
Week3
Week1
Week1
Fill Up your Bookshelves!
Fill Up your Bookshelves!
Dealing with Legacy <del>Code</del> People
Dealing with Legacy <del>Code</del> People
Whose Wife Are You?
Whose Wife Are You?
How I Learned to Smell Code
How I Learned to Smell Code
RailsBrdige Seattle Workshop Intro
RailsBrdige Seattle Workshop Intro
Week2
1.
Ruby Week 2
2.
Agenda Homework Review and
Submission Git Branches The Ruby Language Ruby Gems (grb) IRB: String objects, String Class, Variables, puts/gets Making Our Own Objects
3.
HomeWork Review Questions.txt strings_and_rspec_spec.rb Send a
Pull Request to UWE-Ruby/ RubyFall2012
4.
Git Review GitHub forks and
repos (remote & local) branches (DeMo!)
5.
Rspec Review Code that
Tests Code!! Describe a feature, set an expectation. Red-Green-Refactor
6.
Ruby Everything is an
Object! Type Doesn’t matter! (respond_to?) Speaking Ruby : Interpreter Needed! MRI, YARV, JRuby
7.
Ruby Gems Packaged Ruby
Code Open Source iPhone user: “There’s an app for that!” Ruby programer: “There’s a gem for that!”
8.
GRB Git Remote Branch Ruby
Gem to help with git! Combines remote branch steps into one! DeMo!
9.
IRB Interactive Ruby! Our Ruby
Interpreter! We speak ruby, it translates! Understand Ruby code, evaluates it, gives us the result (inspect)
10.
Ruby Everything evaluates to
something nil is NULL or nothing or Not Set Every Object respond_to? inspect => true
11.
Objects Ruby: everything is
an object Everything is an instance of a class Ruby knows about certain classes of things: Standard Library
12.
String String class :
part of the standard library How Ruby understands text Instances String.new or ‘’ or “” or Q%[] or q%[]
13.
String Class http://www.ruby-doc.org/core-1.9.3/ String.html Methods :
Messages we can send, what an instance will respond to Chomp, *, +, include?, upcase
14.
Variables Named location Points to
something Contents Can Change
15.
String Interpolation my_name
= “Renée” “Hello #{my_name}”
16.
puts / gets put
string get string puts “Hello World” user_input = gets user_input = gets.chomp
17.
Mad-Libs! noun = gets.chomp adjective
= gets.chomp verb_past_tense = gets.chomp “The #{adjective} #{noun} #{verb_past_tense} past the graveyard”
18.
Ruby Scripts mad_libs.rb ruby mad_libs.rb
19.
Making Objects Tell Ruby
About Something New! A new class of stuff!
20.
What is a
Book All Books have....??
21.
Defining New Classes
Initialize attributes / readers and writers Scope Instance variables Instance methods
22.
Homework Reading and Simon
Says Spec
Editor's Notes
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Download now