Sha256: 9228fcbefc23e4c92484353b727c8cda344773018b219fddcdeb4783367147ed

Contents?: true

Size: 169 Bytes

Versions: 101

Compression:

Stored size: 169 Bytes

Contents

local hello_world = {}

function hello_world.hello( name )
  if not name or name == '' then name = 'world' end
  return 'Hello, ' .. name .. '!'
end

return hello_world

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
trackler-2.0.7.0 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.44 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.43 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.42 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.41 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.40 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.39 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.38 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.37 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.36 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.35 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.34 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.33 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.32 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.31 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.30 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.29 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.28 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.27 tracks/lua/exercises/hello-world/example.lua
trackler-2.0.6.26 tracks/lua/exercises/hello-world/example.lua