mirror of
https://github.com/gwenhael-le-moine/ledgerrb.git
synced 2024-12-28 22:23:33 +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
|
module_function
|
||||||
|
|
||||||
@binary = 'ledger'
|
@binary = 'ledger'
|
||||||
@file = '~/org/comptes.ledger'
|
@file = ENV[ 'LEDGER_FILE' ]
|
||||||
|
|
||||||
def run( options, command = '', command_parameters = '' )
|
def run( options, command = '', command_parameters = '' )
|
||||||
`#{@binary} -f #{@file} #{options} #{command} #{command_parameters}`
|
`#{@binary} -f #{@file} #{options} #{command} #{command_parameters}`
|
||||||
|
|
Loading…
Reference in a new issue