mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/mkmf.rb (STRING_OR_FAILED_FORMAT.%): nodoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ab3368de80
commit
fc130468c7
1 changed files with 2 additions and 0 deletions
|
@ -988,9 +988,11 @@ def have_const(const, headers = nil, opt = "", &b)
|
|||
end
|
||||
|
||||
STRING_OR_FAILED_FORMAT = "%s"
|
||||
# :stopdoc:
|
||||
def STRING_OR_FAILED_FORMAT.%(x)
|
||||
x ? super : "failed"
|
||||
end
|
||||
# :startdoc:
|
||||
|
||||
# Returns the size of the given +type+. You may optionally specify additional
|
||||
# +headers+ to search in for the +type+.
|
||||
|
|
Loading…
Reference in a new issue