localshred/protobuf — pull request #18 by fritzvl (2012-09-03 16:04:03+00:00)
Title: fix to work with PB import directive

Hello,
this is the small fix for the visitor.rb file to generate the appropriate `require` string for the *.pb.rb file.

Current version causes the "cannot load such file #{file name}" on line 114 of protobuf / lib / protobuf / compiler / visitors.rb
It returns:
require 'ClassName.pb'
and Class.new.class_eval call causes the error above.

Thanks