• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Hiding in Plain Sight: Unleashing the Power of Blocks And Procs
 

Hiding in Plain Sight: Unleashing the Power of Blocks And Procs

on

  • 2,101 views

 

Statistics

Views

Total Views
2,101
Views on SlideShare
2,101
Embed Views
0

Actions

Likes
0
Downloads
5
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

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

    Hiding in Plain Sight: Unleashing the Power of Blocks And Procs Hiding in Plain Sight: Unleashing the Power of Blocks And Procs Presentation Transcript

    • Hiding in Plain Sight Unleashing the Power of Blocks and Procs
    • Blocks http://www.flickr.com/photos/abulic_monkey/135486777/
    • Procs = Blocks + Context
    • Transform! http://www.flickr.com/photos/suzanneandsimon/486046174/
    • Proc.new
    • lambda
    • &block
    • implicit
    • Symbol#to_proc
    • Examples Controllers http://www.flickr.com/photos/fluzo/15760449/
    • around filters
    • Examples Views http://www.flickr.com/photos/jongos/359191379/
    • view
    • layout
    • Examples Models http://chosetec.darkclan.net/origami/fiddlercrab/fiddlercrab1.jpg
    • Suggestive
    • Business Logic
    • Examples Testing http://www.sxc.hu/photo/731544
    • testing macros
    • Questions? Ben Scofield - Senior Developer, Viget Labs ben.scofield@viget.com http://www.extendviget.com/ http://www.culann.com/