Sha256: fc65a99cb92042f64aa1ddfa6fbda1194e25b19588896dd1c7d4bdab3d80288d

Contents?: true

Size: 428 Bytes

Versions: 9

Compression:

Stored size: 428 Bytes

Contents

module Parade
  module Commands

    #
    # The Unknown Command is provided as the default for the command lists
    # as a default to ensure that a nil is not returned, allowing a for
    # an object that adheres to the generate method.
    # 
    class Unknown

      def description
        "Could not find the command specified"
      end

      def generate(options)
        puts description
      end

    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
parade-0.10.2 lib/parade/commands/unknown.rb
parade-0.10.1 lib/parade/commands/unknown.rb
parade-0.10.0 lib/parade/commands/unknown.rb
parade-0.9.2 lib/parade/commands/unknown.rb
parade-0.9.1 lib/parade/commands/unknown.rb
parade-0.9.0 lib/parade/commands/unknown.rb
parade-0.8.2 lib/parade/commands/unknown.rb
parade-0.8.1 lib/parade/commands/unknown.rb
parade-0.8.0 lib/parade/commands/unknown.rb