class PseudoEntity::Randoms::RandomBankNames

Public Class Methods

new(bank_prefixes) click to toggle source

BANK_PREFIXES.combination(2).map { |x| (x << “Bank”).join(‘ ’) }}

Calls superclass method
# File lib/pseudo_entity/randoms.rb, line 746
def initialize(bank_prefixes)
  super(bank_prefixes, 2)
end

Public Instance Methods

fetch(x) click to toggle source
Calls superclass method
# File lib/pseudo_entity/randoms.rb, line 750
def fetch(x)
  (super(x) << "Bank").join(' ')
end