class LibTAD::OnThisDay::Name

A full name.

Attributes

first[R]

@return [String] First name.

last[R]

@return [String] Last name.

middle[R]

@return [String] Middle name.

Public Class Methods

new(hash) click to toggle source
# File lib/types/onthisday/name.rb, line 17
def initialize(hash)
  @first = hash.fetch('first', nil)
  @middle = hash.fetch('middle', nil)
  @last = hash.fetch('last', nil)
end