Changeset 565

Show
Ignore:
Timestamp:
06/24/08 16:15:26 (3 months ago)
Author:
bbleything
Message:
  • add some comments
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • linen/trunk/lib/linen/argument.rb

    r564 r565  
    2222    attr_reader :prompt, :name 
    2323 
     24 
     25    ### Create a new Linen::Plugin::Argument object. 
    2426    def initialize( plugin, name, opts ) 
    2527        @plugin  = plugin 
     
    3133 
    3234 
     35    ### Apply the validations and run the process block on the value provided. 
    3336    def process( value, opts_hash = IndifferentHash.new ) 
    3437        opts_hash[ :mode ] ||= :simple