Changeset 565
- Timestamp:
- 06/24/08 16:15:26 (3 months ago)
- Files:
-
- linen/trunk/lib/linen/argument.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
linen/trunk/lib/linen/argument.rb
r564 r565 22 22 attr_reader :prompt, :name 23 23 24 25 ### Create a new Linen::Plugin::Argument object. 24 26 def initialize( plugin, name, opts ) 25 27 @plugin = plugin … … 31 33 32 34 35 ### Apply the validations and run the process block on the value provided. 33 36 def process( value, opts_hash = IndifferentHash.new ) 34 37 opts_hash[ :mode ] ||= :simple
