| Message: 91515 |
 |
BY: Dan Rathbun (danzoid61) DATE: 2009-11-12 01:00 SUBJECT: RE: require 'Win32API' On the blogspot, the 'poster', Ashish Chatterjee said:
"a small bug/update needed...
the code snippet for ruby2html should now be
require 'syntax/convertors/html'
<bold>require 'Win32API'</bold>
require 'win32/clipboard'
include Win32
...
...
...
as without including that line you get an error like
"..../ruby/lib/ruby/gems/1.8/gems/win32-clipboard-0.4.3/lib/win32/clipboard.rb:25: uninitialized constant Win32::Clipboard::Win32API (NameError)"
I searched thru that file in win32-clipboard-0.5.2 and the string "WIN32API" is not found in the newer file.
Musta been a typo in ver 0.4.3 ? | |