Changeset 577
- Timestamp:
- 07/01/08 16:17:50 (2 months ago)
- Files:
-
- linen/trunk/lib/linen/simple_command.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
linen/trunk/lib/linen/simple_command.rb
r564 r577 20 20 class Linen::Plugin::SimpleCommand 21 21 include Linen::Plugin::CommandInfrastructure 22 22 23 23 attr_reader :name 24 24 … … 65 65 if @argument_type == :one_of 66 66 return validate_one_of_arguments( args.first ) 67 els e #@argument_type == :required67 elsif @argument_type == :required 68 68 return validate_required_arguments( args ) 69 else 70 # this is a Can't Happen(tm) so I'm comfortable with the crappy 71 # exception string. :P 72 raise "Something has happened!" 69 73 end 70 71 # this is a Can't Happen(tm) so I'm comfortable with the crappy72 # exception string. :P73 raise "Something has happened!"74 74 end 75 75
