mirror of
https://github.com/gwenhael-le-moine/ledgerrb.git
synced 2024-12-26 09:59:18 +01:00
get ledger file from ENV
This commit is contained in:
parent
6b729e79f2
commit
c5f9f51d24
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ module Ledger
|
|||
module_function
|
||||
|
||||
@binary = 'ledger'
|
||||
@file = '~/org/comptes.ledger'
|
||||
@file = ENV[ 'LEDGER_FILE' ]
|
||||
|
||||
def run( options, command = '', command_parameters = '' )
|
||||
`#{@binary} -f #{@file} #{options} #{command} #{command_parameters}`
|
||||
|
|
Loading…
Reference in a new issue