Sha256: 1b970265f484756b9fe1b9f0f67e28b67111ca6ff21e51f25b14b1a6c34f56e3
Contents?: true
Size: 687 Bytes
Versions: 23
Compression:
Stored size: 687 Bytes
Contents
## Examples $ jets runner 'puts "hi"' hi $ jets runner 'puts Jets.env' development Using a script in a file. Let's say you have a script: script.rb: ```ruby puts "hello world: #{Jets.env}" ``` $ jets runner file://script.rb hello world: development Optionally pass in an argument on the command line: Usage: jets runner file|Ruby code [args] The argument will be assigned to the `args` variable. Example: $ jets runner 'puts "hello world with args: #{args}"' 123 hello world with args: 123 Example with script.rb: ```ruby puts "hello world with args: #{args}" ``` $ jets runner file://script.rb 123 hello world with args: 123
Version data entries
23 entries across 23 versions & 1 rubygems