Sha256: de141e88aa570bc27ece675ece54877a5e78a8fba7515bee2424260c25c7cadc

Contents?: true

Size: 404 Bytes

Versions: 6

Compression:

Stored size: 404 Bytes

Contents

# encoding: UTF-8
# frozen_string_literal: true


# Definitions
# =======================================================================

class Thor
  
  # Add an example to the next defined command.
  # 
  # @param [String] example
  #   The example text.
  # 
  # @return [nil]
  # 
  def self.example example
    @examples ||= []
    @examples << example
    nil
  end # #example
  
end # class Thor

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
atli-0.1.13 lib/thor/example.rb
atli-0.1.12 lib/thor/example.rb
atli-0.1.11 lib/thor/example.rb
atli-0.1.10 lib/thor/example.rb
atli-0.1.9 lib/thor/example.rb
atli-0.1.8 lib/thor/example.rb