summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-29 00:43:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-29 00:43:09 +0000
commitfc130468c7e062ad544797dabaf76c372419a87a (patch)
tree2c2ae2917210e184058b4504a829a905e71a360c /lib
parentab3368de8001d72bb6cf33988d3cd37110a9de66 (diff)
* 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
Diffstat (limited to 'lib')
-rw-r--r--lib/mkmf.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index bf18f110b5..cba14ce57a 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -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+.