Languages/Ruby/Ruby-Template-HelloWorld.ps1


function Template.HelloWorld.rb {

    <#
    .SYNOPSIS
        Hello World in Ruby
    .DESCRIPTION
        A Template for Hello World, in Ruby.
    #>

    param(
    # The message to print. By default, "hello world".
    [Parameter(ValueFromPipelineByPropertyName)]
    [string]
    $Message = "hello world"
    )
    process {
@"
puts "$message"
"@

    }

}