Class: RubyNPM::Commands::RunScript
- Defined in:
- lib/ruby_npm/commands/run_script.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from RubyNPM::Commands::Base
Instance Method Details
#arguments(parameters) ⇒ Object
26 27 28 29 30 31 |
# File 'lib/ruby_npm/commands/run_script.rb', line 26 def arguments(parameters) script_arguments = parameters[:arguments] ? ['--'] + parameters[:arguments] : [] [parameters[:script]] + script_arguments end |