Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (6 sloc) 133 Bytes
default_greeting = 'hello'
greeter = {}
greeter.greet = -> name {
puts default_greeting + ' ' + name + '!'
}
greeter.greet('world')
Something went wrong with that request. Please try again.