Method: Unit::Types::FullName#initialize

Defined in:
lib/unit/types/full_name.rb

#initialize(first, last) ⇒ FullName

Returns a new instance of FullName.

Parameters:

  • first (String)

    The first name

  • last (String)

    The last name



10
11
12
13
# File 'lib/unit/types/full_name.rb', line 10

def initialize(first, last)
  @first = first
  @last = last
end