Method: Bitcoin::Wallet::Base.wallet_paths

Defined in:
lib/bitcoin/wallet/base.rb

.wallet_paths(path_prefix = default_path_prefix) ⇒ Array

get wallets path

Returns:

  • (Array)

    Array of paths for each wallet dir.



43
44
45
# File 'lib/bitcoin/wallet/base.rb', line 43

def self.wallet_paths(path_prefix = default_path_prefix)
  Dir.glob("#{path_prefix}wallet*/").sort
end