Part 1: Create the Class4:01 with Jason Seifer
We're going to be creating a class that will approximate a bank account. In this first video, we'll lay the groundwork for our program and define the class and an internal variable.
class BankAccount def initialize(name) @name = name @transactions =  end end bank_account = BankAccount.new("Jason") puts bank_account.inspect
You need to sign up for Treehouse in order to download course files.Sign up