From 03a91bc4ecdf9b70368f0626116e1ecf28b5b789 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 12 May 2021 17:56:59 +0200 Subject: [PATCH] typo --- ledger.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledger.cr b/ledger.cr index b50d158..26e4f7c 100644 --- a/ledger.cr +++ b/ledger.cr @@ -6,7 +6,7 @@ class Ledger @last_mtime : Time def initialize( binary : String = "ledger", - ledger_file : String = ENV[ "LEDGER_FILE" ] ||= "${ENV[ \"HOME\" ]}/org/comptes.ledger" ) + ledger_file : String = ENV[ "LEDGER_FILE" ] ||= "#{ENV[ "HOME" ]}/org/comptes.ledger" ) @binary = binary @file = ledger_file @last_mtime = File.info(@file).modification_time