Sha256: 171ecfb755243afab1bbfb1e46b604c3e2bf8a7b8946824b83c29a4d6778c692

Contents?: true

Size: 301 Bytes

Versions: 2

Compression:

Stored size: 301 Bytes

Contents

class RakeCommander
  module Options
    class Set
      include RakeCommander::Options

      class << self
        include Enumerable

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rake-commander-0.1.4 lib/rake-commander/options/set.rb
rake-commander-0.1.2 lib/rake-commander/options/set.rb