From ce8894b0604f79841ee3ff3dc24bdcc16aa6fd14 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Sun, 12 May 2019 15:22:28 -0500 Subject: [PATCH] More useful to_s for AST nodes --- lib/dhall/ast.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/dhall/ast.rb b/lib/dhall/ast.rb index 114c69b..ae95c0c 100644 --- a/lib/dhall/ast.rb +++ b/lib/dhall/ast.rb @@ -102,6 +102,10 @@ module Dhall end end + def to_s + inspect + end + def as_dhall self end -- 2.45.2