Sha256: d42cc9e7f2f7e5fc4bcbc825aca818cfd70012381c1f30b093c7ce0ead42e0fb

Contents?: true

Size: 80 Bytes

Versions: 9

Compression:

Stored size: 80 Bytes

Contents

# module Databound
# end
def swallow_nil
  yield
rescue NoMethodError
  nil
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
databound-2.0.1 lib/databound/extensions.rb
databound-2.0.0 lib/databound/extensions.rb
databound-1.1.0 lib/databound/extensions.rb
databound-1.0.2 lib/databound/extensions.rb
databound-1.0.1 lib/databound/extensions.rb
databound-1.0.0 lib/databound/extensions.rb
databound-0.2.1 lib/databound/extensions.rb
databound-0.1.1 lib/databound/extensions.rb
databound-0.1.0 lib/databound/extensions.rb