From 0323f55d446d7f447bf6a5fb841c10e3c5564433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=A0=95=ED=99=98?= Date: Mon, 10 Jul 2017 16:45:33 +0900 Subject: [PATCH] edit superclass no error in OS X , ruby 2.2.4 , faker-1.8.0 error in ubuntu 14.04 , ruby 2.2.4 , faker-1.8.0 cause wrong superclass use. --- lib/faker/time.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/faker/time.rb b/lib/faker/time.rb index 73ccd115e7..cf722a3728 100755 --- a/lib/faker/time.rb +++ b/lib/faker/time.rb @@ -1,5 +1,5 @@ module Faker - class Time < Date + class Time < Faker::Date TIME_RANGES = { :all => (0..23), :day => (9..17),