Class: Ladyboy::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/ladyboy/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(full_name) ⇒ Parser

Returns a new instance of Parser.



6
7
8
9
# File 'lib/ladyboy/parser.rb', line 6

def initialize(full_name)
  @full_name = full_name
  parse!
end

Instance Attribute Details

#first_nameObject (readonly)

Returns the value of attribute first_name.



3
4
5
# File 'lib/ladyboy/parser.rb', line 3

def first_name
  @first_name
end

#full_nameObject (readonly)

Returns the value of attribute full_name.



3
4
5
# File 'lib/ladyboy/parser.rb', line 3

def full_name
  @full_name
end

#genderObject (readonly) Also known as: sex

Returns the value of attribute gender.



3
4
5
# File 'lib/ladyboy/parser.rb', line 3

def gender
  @gender
end