Skip to content

Commit

Permalink
feat: HelloWorld in TypeScript ( Fixes #846 )
Browse files Browse the repository at this point in the history
    Also marking TypeScript as case-sensitive (re #815)
  • Loading branch information
StartAutomating authored and StartAutomating committed Dec 13, 2023
1 parent af3df83 commit d0a9935
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Commands/Languages/Ruby/Ruby-Template-HelloWorld.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

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"
"@
}

}


0 comments on commit d0a9935

Please sign in to comment.