class Quote

Attributes

author[RW]
category[RW]
date[RW]
length[RW]
quote[RW]
tags[RW]

Public Class Methods

new(quote_hash) click to toggle source
# File lib/quote.rb, line 5
def initialize(quote_hash)
  @author = quote_hash[:author]
  @quote = quote_hash[:quote]
  @length = quote_hash[:length]
  @tags = quote_hash[:tags]
  @category = quote_hash[:category]
  @date = quote_hash[:date]
end