From 0cc169d1de0decb3fae626a4b30297b7f4792745 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 24 Sep 2016 02:28:25 +0000 Subject: fid typos [ci skip] * fix typos, "a" before "Integer" to "an". [Fix GH-1438] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl_cipher.c | 2 +- ext/socket/option.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'ext') diff --git a/ext/openssl/ossl_cipher.c b/ext/openssl/ossl_cipher.c index f1f3459ef2..57bc3cfa08 100644 --- a/ext/openssl/ossl_cipher.c +++ b/ext/openssl/ossl_cipher.c @@ -304,7 +304,7 @@ ossl_cipher_decrypt(int argc, VALUE *argv, VALUE self) * * === Parameters * * +salt+ must be an 8 byte string if provided. - * * +iterations+ is a integer with a default of 2048. + * * +iterations+ is an integer with a default of 2048. * * +digest+ is a Digest object that defaults to 'MD5' * * A minimum of 1000 iterations is recommended. diff --git a/ext/socket/option.c b/ext/socket/option.c index a823ec7757..4c75fe046d 100644 --- a/ext/socket/option.c +++ b/ext/socket/option.c @@ -404,7 +404,7 @@ sockopt_s_ipv4_multicast_loop(VALUE klass, VALUE value) * call-seq: * sockopt.ipv4_multicast_loop => integer * - * Returns the ipv4_multicast_loop data in _sockopt_ as a integer. + * Returns the ipv4_multicast_loop data in _sockopt_ as an integer. * * sockopt = Socket::Option.ipv4_multicast_loop(10) * p sockopt.ipv4_multicast_loop => 10 @@ -455,7 +455,7 @@ sockopt_s_ipv4_multicast_ttl(VALUE klass, VALUE value) * call-seq: * sockopt.ipv4_multicast_ttl => integer * - * Returns the ipv4_multicast_ttl data in _sockopt_ as a integer. + * Returns the ipv4_multicast_ttl data in _sockopt_ as an integer. * * sockopt = Socket::Option.ipv4_multicast_ttl(10) * p sockopt.ipv4_multicast_ttl => 10 @@ -1473,4 +1473,3 @@ rsock_init_sockopt(void) rb_define_method(rb_cSockOpt, "to_s", sockopt_data, 0); /* compatibility for ruby before 1.9.2 */ } - -- cgit v1.2.3