Class: Runfile::Initiator

Inherits:
Object
  • Object
show all
Includes:
Inspectable, Renderable
Defined in:
lib/runfile/initiator.rb

Overview

Creates a new runfile when running run new in a directory without runfiles.

Instance Method Summary collapse

Methods included from Renderable

#render

Methods included from Inspectable

#inspect, #inspectable

Instance Method Details

#run(argv = ARGV) ⇒ Object



10
11
12
13
14
# File 'lib/runfile/initiator.rb', line 10

def run(argv = ARGV)
  Runner.run docopt, argv: argv, version: VERSION do |args|
    execute_command args
  end
end