Sha256: 38e7b798e6f1789cd2e061d204b82ebda07a1da497111863d015b324c4712334

Contents?: true

Size: 288 Bytes

Versions: 18

Compression:

Stored size: 288 Bytes

Contents

# -*- encoding : utf-8 -*-
class Array
  def to_dao(*args, &block)
    Dao.to_dao(self, *args, &block)
  end

  def as_dao(*args, &block)
    Dao.as_dao(self, *args, &block)
  end
end

unless Object.new.respond_to?(:tap)
  def tap(value, &block)
    block.call(value)
    value
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
dao-8.0.1 lib/dao/stdext.rb
dao-8.0.0 lib/dao/stdext.rb
dao-7.0.0 lib/dao/stdext.rb
dao-5.6.1 lib/dao/stdext.rb
dao-5.5.2 lib/dao/stdext.rb
dao-5.5.1 lib/dao/stdext.rb
dao-5.5.0 lib/dao/stdext.rb
dao-5.4.0 lib/dao/stdext.rb
dao-5.3.3 lib/dao/stdext.rb
dao-5.3.2 lib/dao/stdext.rb
dao-5.3.0 lib/dao/stdext.rb
dao-5.2.1 lib/dao/stdext.rb
dao-5.1.2 lib/dao/stdext.rb
dao-5.1.1 lib/dao/stdext.rb
dao-5.0.0 lib/dao/stdext.rb
dao-4.6.4 lib/dao/stdext.rb
dao-4.4.4 lib/dao/stdext.rb
dao-4.4.2 lib/dao/stdext.rb