Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread
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 ?


Thread View

Thread Author Date
require 'Win32API'David Wilcock2009-03-03 12:29
      RE: require 'Win32API'Daniel Berger2009-04-15 20:48
            RE: require 'Win32API'David Wilcock2009-04-20 09:58
            RE: require 'Win32API'Dan Rathbun2009-11-12 01:00
                  RE: require 'Win32API'Daniel Berger2009-11-12 02:15
                        RE: require 'Win32API'Dan Rathbun2009-11-12 04:46

Post a followup to this message