Sha256: 1c645b96599f509d528e0df3c426da5b534dadb0431cd352a82d2a510db1e7dd

Contents?: true

Size: 462 Bytes

Versions: 14

Compression:

Stored size: 462 Bytes

Contents

class RakeCommander
  module Options
    class Set
      include RakeCommander::Options

      class << self
        include Enumerable

        # Name of the `Options::Set`
        def name(value = :not_used)
          return @name if value == :not_used
          @name = value.to_sym
        end

        def each(&block)
          return to_enum(:each) unless block
          options.each(&block)
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rake-commander-0.4.0 lib/rake-commander/options/set.rb
rake-commander-0.3.6 lib/rake-commander/options/set.rb
rake-commander-0.3.5 lib/rake-commander/options/set.rb
rake-commander-0.3.3 lib/rake-commander/options/set.rb
rake-commander-0.2.12 lib/rake-commander/options/set.rb
rake-commander-0.2.11 lib/rake-commander/options/set.rb
rake-commander-0.2.10 lib/rake-commander/options/set.rb
rake-commander-0.2.7 lib/rake-commander/options/set.rb
rake-commander-0.2.6 lib/rake-commander/options/set.rb
rake-commander-0.2.5 lib/rake-commander/options/set.rb
rake-commander-0.2.4 lib/rake-commander/options/set.rb
rake-commander-0.2.3 lib/rake-commander/options/set.rb
rake-commander-0.2.2 lib/rake-commander/options/set.rb
rake-commander-0.2.0 lib/rake-commander/options/set.rb