Class: Pajamas::AvatarEmail

Inherits:
Struct
  • Object
show all
Defined in:
app/components/pajamas/avatar_component.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#emailObject

Returns the value of attribute email

Returns:

  • (Object)

    the current value of email



4
5
6
# File 'app/components/pajamas/avatar_component.rb', line 4

def email
  @email
end

Instance Method Details

#nameObject



5
6
7
# File 'app/components/pajamas/avatar_component.rb', line 5

def name
  email
end