mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Added explicitly require to example code.
https://github.com/ruby/ruby/pull/1666 Patch by @guilherme [fix GH-1666] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
617c53136d
commit
7d2e5fb979
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,7 @@ module Fiddle
|
|||
# Parses a C struct's members
|
||||
#
|
||||
# Example:
|
||||
# require 'fiddle/import'
|
||||
#
|
||||
# include Fiddle::CParser
|
||||
# #=> Object
|
||||
|
@ -66,6 +67,7 @@ module Fiddle
|
|||
# be looked up.
|
||||
#
|
||||
# Example:
|
||||
# require 'fiddle/import'
|
||||
#
|
||||
# include Fiddle::CParser
|
||||
# #=> Object
|
||||
|
@ -102,6 +104,7 @@ module Fiddle
|
|||
# value will be the C type to be looked up.
|
||||
#
|
||||
# Example:
|
||||
# require 'fiddle/import'
|
||||
#
|
||||
# include Fiddle::CParser
|
||||
# #=> Object
|
||||
|
|
Loading…
Reference in a new issue