Sha256: 514cd79c294cb701b16c418f336c98e5f095ee07131eb68f38d9ff6c6b280e9f

Contents?: true

Size: 193 Bytes

Versions: 1

Compression:

Stored size: 193 Bytes

Contents

class Mediator
  class Processor
    def empty? value, options = nil
      !(options && options[:empty]) &&
        (value.nil? || value.respond_to?(:empty?) && value.empty?)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mediator-0.0.1 lib/mediator/processor.rb