[前][次][番号順一覧][スレッド一覧]

ruby-changes:12313

From: wyhaines <ko1@a...>
Date: Fri, 10 Jul 2009 03:48:39 +0900 (JST)
Subject: [ruby-changes:12313] Ruby:r24008 (ruby_1_8_6): Removed private on to_date and to_datetime.

wyhaines	2009-07-10 03:48:23 +0900 (Fri, 10 Jul 2009)

  New Revision: 24008

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24008

  Log:
    Removed private on to_date and to_datetime.

  Modified files:
    branches/ruby_1_8_6/ChangeLog
    branches/ruby_1_8_6/lib/date.rb
    branches/ruby_1_8_6/version.h

Index: ruby_1_8_6/ChangeLog
===================================================================
--- ruby_1_8_6/ChangeLog	(revision 24007)
+++ ruby_1_8_6/ChangeLog	(revision 24008)
@@ -8,6 +8,8 @@
 
 	* ext/socket/extconf.rb: Corrected function definitions to specify return values.
 
+	* lib/date.rb: Removed private on to_date and to_datetime 
+
 Mon Jun  8 12:46:00 2009  Kirk Haines <khaines@r...>
 
 	* lib/soap/mimemessage.rb: Fixed a typo -- conent -> content
Index: ruby_1_8_6/version.h
===================================================================
--- ruby_1_8_6/version.h	(revision 24007)
+++ ruby_1_8_6/version.h	(revision 24008)
@@ -2,7 +2,7 @@
 #define RUBY_RELEASE_DATE "2009-06-08"
 #define RUBY_VERSION_CODE 186
 #define RUBY_RELEASE_CODE 20090608
-#define RUBY_PATCHLEVEL 373
+#define RUBY_PATCHLEVEL 374
 
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 8
Index: ruby_1_8_6/lib/date.rb
===================================================================
--- ruby_1_8_6/lib/date.rb	(revision 24007)
+++ ruby_1_8_6/lib/date.rb	(revision 24008)
@@ -1604,8 +1604,6 @@
     DateTime.new!(DateTime.jd_to_ajd(jd, fr, of), of, DateTime::ITALY)
   end
 
-  private :to_date, :to_datetime
-
 end
 
 class Date

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]