Ruby Cold Cuts Part 1
Upcoming SlideShare
Loading in...5
×
 

Ruby Cold Cuts Part 1

on

  • 235 views

 

Statistics

Views

Total Views
235
Views on SlideShare
221
Embed Views
14

Actions

Likes
0
Downloads
0
Comments
0

2 Embeds 14

http://localhost 8
http://justinherrick.com 6

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Ruby Cold Cuts Part 1 Ruby Cold Cuts Part 1 Presentation Transcript

  • Friday, May 17, 13
  • Ruby Cold Cuts Friday, May 17, 13
  • Ruby Cold Cuts A Slice of Ruby Core & The Standard Library: Friday, May 17, 13
  • Ruby Cold Cuts A Slice of Ruby Core & The Standard Library: Enumerating Enumerable Friday, May 17, 13
  • Ruby Cold Cuts A Slice of Ruby Core & The Standard Library: Part I Enumerating Enumerable Friday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • • Dynamically Typed • Interpreted • “Pure”- Object Oriented • Multi paradigm • Memory Managed • Geared for “developer happiness and productivity” Ruby Friday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • Enumerable Friday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • module Enumerable class Enumerator != Friday, May 17, 13
  • Modules Friday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • Enumerable Friday, May 17, 13
  • Use Enumerable Friday, May 17, 13
  • Where to find Enumerable methods? http://ruby-doc.org/core-2.0/Enumerable.html Friday, May 17, 13
  • What do we get with Enumerable? Friday, May 17, 13
  • What do we get with Enumerable? • all? • any? • chunk • collect • collect_concat • count • cycle • detect • drop • drop_while • each_cons • each_entry • each_slice • each_with_index • each_with_object • entries • find • find_all • find_index • first • flat_map • grep • group_by • include? • inject • map • max • max_by • member? • min • min_by • minmax • minmax_by • none? • one? • partition • reduce • reject • reverse_each • select • slice_before • sort • sort_by • take • take_while • to_a • to_set • zip Friday, May 17, 13
  • #each Friday, May 17, 13
  • #each_with_index Friday, May 17, 13
  • #map | #collect Friday, May 17, 13
  • #find | #detect Friday, May 17, 13
  • #select | #reject Friday, May 17, 13
  • #any? | #all? | #none? | #one? Friday, May 17, 13
  • #partition Friday, May 17, 13
  • #zip Friday, May 17, 13
  • #min | #max | #minmax Friday, May 17, 13
  • To Be Continued Friday, May 17, 13
  • Next Week on... • Create your own class that uses Enumerable • Arrays • Hashs • Sets • and More! Friday, May 17, 13