lib/ree_lib/packages/ree_dto/package/ree_dto/dto/collection_meta.rb



class ReeDto::CollectionMeta
  include Ree::Contracts::Core
  include Ree::Contracts::ArgContracts

  attr_reader :name, :contract, :filter_proc

  contract Symbol, Any, Nilor[Proc] => Any
  def initialize(name, contract, filter_proc)
    @name = name
    @contract = contract
    @filter_proc = filter_proc
  end
end