Sha256: 7205a41ca6e6fa3bcaf2ddf3fd169760b084e521b39bd7138d98670f21a0df7d

Contents?: true

Size: 295 Bytes

Versions: 4

Compression:

Stored size: 295 Bytes

Contents

module BB
  module FactoryDecorator
    module Joinable
      private

      def format_filters(expressions)
        expressions.map(&method(:format_condition)).compact
      end

      def format_condition(value)
        Converter::Table.convert(value, options.dup)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
b_b-0.1.3 lib/b_b/factory_decorator/joinable.rb
b_b-0.1.2 lib/b_b/factory_decorator/joinable.rb
b_b-0.1.1 lib/b_b/factory_decorator/joinable.rb
b_b-0.1.0 lib/b_b/factory_decorator/joinable.rb