This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Employee { | |
let name: String | |
let emailAddress: EmailAddress | |
init(name: String, emailAddress: EmailAddress) { | |
self.name = name | |
self.emailAddress = emailAddress | |
} | |
func getInfo() -> String { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Employee { | |
let name: String | |
let email: String | |
init(_ name: String, _ email: String) { | |
self.name = name | |
self.email = email | |
} | |
func getInfo() -> String { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let test = "Test" | |
print("test") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def nombre_funcion(usuario) | |
@usuario = usuario | |
mail to: usuario.email, subject: 'Bienvenido.’ | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def nombre_funcion(usuario) | |
@usuario = usuario | |
mail to: usuario.email, subject: 'Bienvenido.’ | |
end |
NewerOlder