Sha256: 9e9464fb36ed051a1aa4cfa0bd0d64e751a290885d52ee8eaceb9fbcc808895c

Contents?: true

Size: 400 Bytes

Versions: 3

Compression:

Stored size: 400 Bytes

Contents

module Pione
  module CommandOption
    module ChildProcessOption
      extend OptionInterface

      # --parent-front
      define_option('--parent-front=URI', 'set parent front URI') do |uri|
        @parent_front = DRbObject.new_with_uri(uri)
      end

      # --no-parent
      define_option('--no-parent', 'turn on no parent mode') do
        @no_parent_mode = true
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pione-0.1.2 lib/pione/command-option/child-process-option.rb
pione-0.1.1 lib/pione/command-option/child-process-option.rb
pione-0.1.0 lib/pione/command-option/child-process-option.rb