Class: BankingData::Bank
- Inherits:
-
Object
- Object
- BankingData::Bank
- Defined in:
- lib/banking_data/bank.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Bank
constructor
A new instance of Bank.
Constructor Details
#initialize(attributes = {}) ⇒ Bank
Returns a new instance of Bank.
4 5 6 7 8 |
# File 'lib/banking_data/bank.rb', line 4 def initialize(attributes = {}) attributes.each do |name, value| send("#{name}=", value) end end |