Browse Source

Allow type errors for lists

master
Dylan Baker 5 years ago
parent
commit
e11382f5be
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      lib/chervil/core.rb

+ 2
- 0
lib/chervil/core.rb View File

@@ -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…
Cancel
Save