Skip to content

Instantly share code, notes, and snippets.

@akcrono
Last active August 29, 2015 14:05
Show Gist options
  • Save akcrono/301aba7d105c8a6ea120 to your computer and use it in GitHub Desktop.
Save akcrono/301aba7d105c8a6ea120 to your computer and use it in GitHub Desktop.
class Card
def initialize(rank, suit)
@suit = suit
@rank = rank
end
def suit
@suit
end
def rank
@rank
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment