Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vistahigherlearning / logstash   deb

Repository URL to install this package:

/ opt / logstash / vendor / bundle / jruby / 1.9 / gems / activesupport-3.2.17 / lib / active_support / core_ext / time / publicize_conversion_methods.rb

require 'date'

class Time
  # Ruby 1.8-cvs and early 1.9 series define private Time#to_date
  %w(to_date to_datetime).each do |method|
    if private_instance_methods.include?(method) || private_instance_methods.include?(method.to_sym)
      public method
    end
  end
end