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

  • 906 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
906
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. 光のツールExcelに闇Rubyの力を注入してみた~ Lets injection dark ruby power to Holy Excel ~ !RubyKaigi 2011 @koduki
  • 2. about me● Name : Hiroaki Nakada● @twitter_id:koduki● github – https://github.com/koduki
  • 3. What is Excel ?
  • 4. Very populerDocmentation tool in Japan
  • 5. All document is written by Excel.
  • 6. All document
  • 7. orz
  • 8. But
  • 9. This is good toolto be written test data and so on.
  • 10. But...
  • 11. VBA(Visual Basic for Appliction)
  • 12. We generate SQL, source code,XML, CSV, and so on, from Excel by VBA
  • 13. Example
  • 14. Not Support reguler expression Not Support UTF-8 Not Support Clouser Poor Syntax Not Support Real Object OrientedPoor Text Parsing
  • 15. そんな言語で大丈夫か?
  • 16. 一番 良いのを たのむ
  • 17. Ruby
  • 18. How do I use ruby for excel?● Win32 OLE binding● JRuby and POI
  • 19. WinOLE32● Powerful API.● Not only excel, but also IE, Outlook, and so on.● Only windows plattoform.
  • 20. JRuby and POI● Apache POI.(Java Library)● Support Excel 97, 2000, and 2003.● A little complex.
  • 21. More simply
  • 22. I make it.
  • 23. 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
  • 24. auto type convert
  • 25. build jar file > rake jar:package > java -jar dist/poilite.jar● Not Install Ruby!
  • 26. 体が軽い! もう何も怖くない
  • 27. Nullpointer Exception, orz
  • 28. We should write test !
  • 29. Thank you.