class Flashcard

Attributes

answer[R]
question[R]

Public Class Methods

new(question, answer) click to toggle source
# File lib/flashcards.rb, line 3
def initialize(question, answer)
  @question = question
  @answer = answer
end