add Book#find_account_by_full_name()
This commit is contained in:
1 parent
ccc28e185e
commit
8b0b639434
2 files changed
+28
No files matched your search
@@ -28,6 +28,10 @@ module Gnucash
|
||||
@accounts.find { |a| a.id == id }
|
||||
end
|
||||
|
||||
def find_account_by_full_name(full_name)
|
||||
@accounts.find { |a| a.full_name == full_name }
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def build_accounts
|
||||
|
||||
Reference in new issue
Block a user