calling a method in the initializer ruby code example
Example: ruby initialize method
def initialize
@nameOfInstance = block of code that creates an instance variable.
end
def initialize
@nameOfInstance = block of code that creates an instance variable.
end