Sha256: 29b9a63ccb8230be7d4cf08519927b58ff22996508bd9af58c3e7129006cbf42

Contents?: true

Size: 635 Bytes

Versions: 37

Compression:

Stored size: 635 Bytes

Contents

module Inch
  module API
    module Options
      class Filter < Base
        # This module is included here and in Command::Options::BaseList
        # to ensure the same default values for the command-line and library
        # interface
        module DefaultAttributeValues
          DEFAULT_VISIBILITY = [:public, :protected]
        end

        include DefaultAttributeValues

        attribute :visibility, DEFAULT_VISIBILITY
        attribute :namespaces
        attribute :undocumented
        attribute :depth
      end

      def self.Filter(options_or_hash)
        Filter.new(options_or_hash)
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
inch-0.4.7 lib/inch/api/options/filter.rb
inch-0.5.0.rc3 lib/inch/api/options/filter.rb
inch-0.5.0.rc2 lib/inch/api/options/filter.rb
inch-0.5.0.rc1 lib/inch/api/options/filter.rb
inch-0.4.6 lib/inch/api/options/filter.rb
inch-0.4.5 lib/inch/api/options/filter.rb
inch-0.4.4 lib/inch/api/options/filter.rb
inch-0.4.4.rc4 lib/inch/api/options/filter.rb
inch-0.4.4.rc3 lib/inch/api/options/filter.rb
inch-0.4.4.rc2 lib/inch/api/options/filter.rb
inch-0.4.4.rc1 lib/inch/api/options/filter.rb
inch-0.4.3 lib/inch/api/options/filter.rb
inch-0.4.3.rc2 lib/inch/api/options/filter.rb
inch-0.4.3.rc1 lib/inch/api/options/filter.rb
inch-0.4.2 lib/inch/api/options/filter.rb
inch-0.4.1 lib/inch/api/options/filter.rb
inch-0.4.0 lib/inch/api/options/filter.rb
inch-0.4.0.rc3 lib/inch/api/options/filter.rb
inch-0.4.0.rc2 lib/inch/api/options/filter.rb
inch-0.4.0.rc1 lib/inch/api/options/filter.rb