• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythongamewindowsbathyscaphephpguic翻訳omegattwitterframeworktestbtronarduinovb.net計画中(planning stage)directxpreviewerゲームエンジンdom

Commit MetaInfo

Revisão4cf01558a8ce727f194cc9a851b233efcd9a5f16 (tree)
Hora2009-09-22 22:00:39
Autorikeji <ikeji@f836...>
Commiterikeji

Mensagem de Log

Add convert for support ruby1.9.1

git-svn-id: http://dev.ikejima.org/src/svn/pragger/trunk@413 f8368ae4-1e99-dc11-9799-0018f35ab5fa

Mudança Sumário

Diff

--- a/pragger.rb
+++ b/pragger.rb
@@ -13,7 +13,7 @@ class Plugin
1313 instance_eval( @source = File.read(file).toutf8, file , 1)
1414 end
1515 def self.load_plugins(folder = (Pathname(__FILE__).parent + "plugin"))
16- Pathname.glob(folder + "**/*.rb").sort.each do |file|
16+ Pathname.glob(folder.to_s + "**/*.rb").sort.each do |file|
1717 begin
1818 $plugins[ file.relative_path_from(folder).to_s.gsub("/","::")[0..-4] ]= Plugin.new(file)
1919 rescue LoadError