lib/netlinx/compile/script.rb in netlinx-compile-3.0.0 vs lib/netlinx/compile/script.rb in netlinx-compile-3.1.0
- old
+ new
@@ -8,12 +8,13 @@
class Script
private_class_method :new
class << self
# Run the script.
- def run(**kvargs)
- # :argv is a convenience to override ARGV, like for testing.
- args = kvargs.fetch :argv, ARGV
+ # @option kwargs [Array<String>] :argv A convenience to override ARGV,
+ # like for testing.
+ def run(**kwargs)
+ args = kwargs.fetch :argv, ARGV
# Command line options.
@options = OpenStruct.new \
source: '',
include_paths: [],
\ No newline at end of file