Sha256: 2daaebecfc0aa3ab2e84a6f3703af95ec72c2609452042803e0d388613a00b86
Contents?: true
Size: 432 Bytes
Versions: 29
Compression:
Stored size: 432 Bytes
Contents
module Inch module API # Filters a codebase's objects based on given options class Filter attr_reader :codebase attr_reader :objects attr_reader :grade_lists def initialize(codebase, options) @codebase = codebase codebase.objects.filter! Options::Filter.new(options) @objects = codebase.objects.to_a @grade_lists = @codebase.grade_lists end end end end
Version data entries
29 entries across 29 versions & 1 rubygems