• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
光のツールExcelに闇Rubyの力を注いでみた
 

光のツールExcelに闇Rubyの力を注いでみた

on

  • 1,093 views

 

Statistics

Views

Total Views
1,093
Views on SlideShare
1,092
Embed Views
1

Actions

Likes
0
Downloads
0
Comments
0

1 Embed 1

https://twitter.com 1

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

    光のツールExcelに闇Rubyの力を注いでみた 光のツールExcelに闇Rubyの力を注いでみた Presentation Transcript

    • 光のツールExcelに闇Rubyの力を注入してみた~ Lets injection dark ruby power to Holy Excel ~ !RubyKaigi 2011 @koduki
    • about me● Name : Hiroaki Nakada● @twitter_id:koduki● github – https://github.com/koduki
    • What is Excel ?
    • Very populerDocmentation tool in Japan
    • All document is written by Excel.
    • All document
    • orz
    • But
    • This is good toolto be written test data and so on.
    • But...
    • VBA(Visual Basic for Appliction)
    • We generate SQL, source code,XML, CSV, and so on, from Excel by VBA
    • Example
    • Not Support reguler expression Not Support UTF-8 Not Support Clouser Poor Syntax Not Support Real Object OrientedPoor Text Parsing
    • そんな言語で大丈夫か?
    • 一番 良いのを たのむ
    • Ruby
    • How do I use ruby for excel?● Win32 OLE binding● JRuby and POI
    • WinOLE32● Powerful API.● Not only excel, but also IE, Outlook, and so on.● Only windows plattoform.
    • JRuby and POI● Apache POI.(Java Library)● Support Excel 97, 2000, and 2003.● A little complex.
    • More simply
    • I make it.
    • POILite● Very simple POI wrapper for jruby https://github.com/koduki/POILite● using Excel Sheet as simple arrray.● you can write simple code.● erb is very useful● Example:Selenium Testcase Generator https://github.com/koduki/Tesla
    • auto type convert
    • build jar file > rake jar:package > java -jar dist/poilite.jar● Not Install Ruby!
    • 体が軽い! もう何も怖くない
    • Nullpointer Exception, orz
    • We should write test !
    • Thank you.