Sha256: a11a09a0d195e43a4bc05d294f15e077ab1f7d8eaac973dbfc6381448c55c778

Contents?: true

Size: 495 Bytes

Versions: 3

Compression:

Stored size: 495 Bytes

Contents

module Stella
  class CLI
    # Stella::CLI::Base
    #
    # A base case for the command line interface classes. All Stella::CLI 
    # classes should be based on this class. Otherwise great destruction could occur.
    class Base
      attr_reader :adapter
      attr_accessor :stella_options
      attr_accessor :arguments
      attr_accessor :working_directory
      
      def initialize(adapter)
        @adapter_name = adapter
        @options = OpenStruct.new
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stella-0.3.2 lib/stella/cli/base.rb
stella-0.5.1 lib/stella/cli/base.rb
stella-0.5.3 lib/stella/cli/base.rb