ruby-changes:48176
From: hsbt <ko1@a...>
Date: Sat, 21 Oct 2017 23:55:25 +0900 (JST)
Subject: [ruby-changes:48176] hsbt:r60290 (trunk): Added explicitly require to example code.
hsbt 2017-10-21 23:55:22 +0900 (Sat, 21 Oct 2017) New Revision: 60290 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60290 Log: Added explicitly require to example code. https://github.com/ruby/ruby/pull/1666 Patch by @guilherme [fix GH-1666] Modified files: trunk/ext/fiddle/lib/fiddle/cparser.rb Index: ext/fiddle/lib/fiddle/cparser.rb =================================================================== --- ext/fiddle/lib/fiddle/cparser.rb (revision 60289) +++ ext/fiddle/lib/fiddle/cparser.rb (revision 60290) @@ -21,6 +21,7 @@ module Fiddle https://github.com/ruby/ruby/blob/trunk/ext/fiddle/lib/fiddle/cparser.rb#L21 # Parses a C struct's members # # Example: + # require 'fiddle/import' # # include Fiddle::CParser # #=> Object @@ -66,6 +67,7 @@ module Fiddle https://github.com/ruby/ruby/blob/trunk/ext/fiddle/lib/fiddle/cparser.rb#L67 # be looked up. # # Example: + # require 'fiddle/import' # # include Fiddle::CParser # #=> Object @@ -102,6 +104,7 @@ module Fiddle https://github.com/ruby/ruby/blob/trunk/ext/fiddle/lib/fiddle/cparser.rb#L104 # value will be the C type to be looked up. # # Example: + # require 'fiddle/import' # # include Fiddle::CParser # #=> Object -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/