Support Crystal <= 0.24.2

This commit is contained in:
Vitalii Elenhaupt 2018-05-09 12:53:01 +03:00
parent 58e6b42ea9
commit fa7f5c5b28
No known key found for this signature in database
GPG Key ID: 7558EF3A4056C706
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{% if Crystal::VERSION == "0.24.2" %}
{% if compare_versions(Crystal::VERSION, "0.24.2") <= 0 %}
# workaround for https://github.com/crystal-lang/crystal/pull/6032
module Crystal
class Case < ASTNode