Class: RakeCommander::Options::Set
- Inherits:
-
Object
- Object
- RakeCommander::Options::Set
- Extended by:
- Enumerable
- Includes:
- RakeCommander::Options
- Defined in:
- lib/rake-commander/options/set.rb
Class Method Summary collapse
- .each(&block) ⇒ Object
-
.name(value = :not_used) ⇒ Object
Name of the
Options::Set
.
Class Method Details
.each(&block) ⇒ Object
15 16 17 18 |
# File 'lib/rake-commander/options/set.rb', line 15 def each(&block) return to_enum(:each) unless block .each(&block) end |
.name(value = :not_used) ⇒ Object
Name of the Options::Set
10 11 12 13 |
# File 'lib/rake-commander/options/set.rb', line 10 def name(value = :not_used) return @name if value == :not_used @name = value.to_sym end |