Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Ruby & Gem & Ecosystem
Search
Alex
November 26, 2013
Programming
0
95
Ruby & Gem & Ecosystem
Gem : how to work
vedio :
http://edu.51cto.com/course/course_id-418
Alex
November 26, 2013
Tweet
Share
More Decks by Alex
See All by Alex
《Ruby原理剖析》二三事
zhanghandong
2
270
Ruby之道——让Ruby更简单
zhanghandong
3
210
Ruby Test (TDD/BDD)
zhanghandong
0
220
Ruby Standard Lib
zhanghandong
0
100
Ruby Exception
zhanghandong
0
110
Ruby Thread
zhanghandong
3
140
Duck Typing in Ruby
zhanghandong
2
670
Other Decks in Programming
See All in Programming
Drawing Heighway’s Dragon- Recursive Function Rewrite- From Imperative Style in Pascal 64 To Functional Style in Scala 3
philipschwarz
PRO
0
150
SwiftUI Viewの責務分離
elmetal
PRO
2
280
もう僕は OpenAPI を書きたくない
sgash708
6
1.9k
Datadog Workflow Automation で圧倒的価値提供
showwin
1
300
複数のAWSアカウントから横断で 利用する Lambda Authorizer の作り方
tc3jp
0
120
生成AIで加速するテスト実装 - ロリポップ for Gamersの事例と 生成AIエディタの活用
kinosuke01
0
140
Domain-Driven Design (Tutorial)
hschwentner
13
22k
TCAを用いたAmebaのリアーキテクチャ
dazy
0
220
コードを読んで理解するko build
bells17
1
110
楽しく向き合う例外対応
okutsu
0
730
The Clean ArchitectureがWebフロントエンドでしっくりこないのは何故か / Why The Clean Architecture does not fit with Web Frontend
twada
PRO
49
16k
Serverless Rust: Your Low-Risk Entry Point to Rust in Production (and the benefits are huge)
lmammino
1
160
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
51
7.4k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Gamification - CAS2011
davidbonilla
80
5.2k
For a Future-Friendly Web
brad_frost
176
9.6k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Building Your Own Lightsaber
phodgson
104
6.2k
Faster Mobile Websites
deanohume
306
31k
Building Applications with DynamoDB
mza
93
6.2k
The Language of Interfaces
destraynor
156
24k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Thoughts on Productivity
jonyablonski
69
4.5k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Transcript
edu.51cto.com 诱人的Ruby Attractive Ruby 开发技术 Ruby语⾔言系列教程 @张汉东 ⼊入⻔门篇 13年11月25⽇日星期⼀一
edu.51cto.com 51CTO学院 为梦想增值 http://www.ruby-doc.org/ 1 @张汉东 PRIMER 19、写⾃自⼰己的Gem Attractive Ruby
Gem Rubygems .org Rubyist GitHub Rubyist Rubyist 13年11月25⽇日星期⼀一
edu.51cto.com 51CTO学院 为梦想增值 http://www.ruby-doc.org/ 2 @张汉东 PRIMER 19、写⾃自⼰己的Gem Attractive Ruby
Gem⼯工作原理 gem: how to work require ‘gemname’ require ‘gemname/lib/gemname.rb’ require ‘gemname/lib/gemname/ others’ others’ 13年11月25⽇日星期⼀一
edu.51cto.com 51CTO学院 为梦想增值 http://www.ruby-doc.org/ 3 @张汉东 PRIMER 19、写⾃自⼰己的Gem Attractive Ruby
Gem Jeweler hoe Bundler GemThis .gemspec && .gem 13年11月25⽇日星期⼀一
edu.51cto.com 51CTO学院 为梦想增值 http://www.ruby-doc.org/ 4 @张汉东 PRIMER 19、写⾃自⼰己的Gem Attractive Ruby
make your own gem with Bunlder 13年11月25⽇日星期⼀一
edu.51cto.com 51CTO学院 为梦想增值 http://www.ruby-doc.org/ 5 @张汉东 PRIMER 19、写⾃自⼰己的Gem Attractive Ruby
代码演⽰示 code for demo https://github.com/ZhangHanDong/shell_explain Gem demo: shell_explain 13年11月25⽇日星期⼀一
edu.51cto.com 51CTO学院 为梦想增值 http://www.ruby-doc.org/ 6 @张汉东 PRIMER 19、写⾃自⼰己的Gem Attractive Ruby
使⽤用C扩展 c extend for gem ruby.h mkmf ffi RubyInline SWIG 13年11月25⽇日星期⼀一
edu.51cto.com 51CTO学院 为梦想增值 http://www.ruby-doc.org/ 7 @张汉东 PRIMER 19、写⾃自⼰己的Gem Attractive Ruby
Rails :⼀一个巨型Gem Rails : A Huge Gem Rails activesupport activerecord actionpack actionview activemodel 13年11月25⽇日星期⼀一
edu.51cto.com 51CTO学院 为梦想增值 http://www.ruby-doc.org/ 8 @张汉东 PRIMER 19、写⾃自⼰己的Gem Attractive Ruby
使⽤用Gem扩展Rails Rails Engine 原理介绍 extend Rails with Gem Rails Engine :how to work 13年11月25⽇日星期⼀一
edu.51cto.com 51CTO学院 为梦想增值 http://www.ruby-doc.org/ 9 @张汉东 PRIMER 19、写⾃自⼰己的Gem Attractive Ruby
Gem⽣生态系统 gem ecosystem 13年11月25⽇日星期⼀一
edu.51cto.com 51CTO学院 为梦想增值 更深⼊入的内容,请关注《诱⼈人的Ruby-基础提⾼高篇》 谢谢观看 10 @张汉东 PRIMER 19、写⾃自⼰己的Gem Attractive
Ruby 13年11月25⽇日星期⼀一