Class Rudy::Routines::Base
In: lib/rudy/routines/base.rb
Parent: Object

Methods

Included Modules

Rudy::Huxtable

Attributes

machines  [R]  An Array Rudy::Machines objects that will be processed

Public Class methods

  • name The name of the command specified on the command line
  • option A Hash or OpenStruct of named command line options. If it‘s a Hash it will be converted to an OpenStruct.
  • argv An Array of arguments

option and argv are made available to the routine block.

    routines do
      magic do |options,argv|
        ...
      end
    end

Public Instance methods

[Validate]