Explorar el Código

Allow type errors for lists

master
Dylan Baker hace 5 años
padre
commit
e11382f5be
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      lib/chervil/core.rb

+ 2
- 0
lib/chervil/core.rb Ver fichero

@@ -15,6 +15,8 @@ module Chervil
15 15
       case cls.inspect
16 16
       when "Float"
17 17
         "number"
18
+      when "Array"
19
+        "list"
18 20
       when "String"
19 21
         "string"
20 22
       end

Loading…
Cancelar
Guardar