Sha256: ec49cfecce9a1430fd4da1b070fbc6c62b825bb2c6c854dfb24b95436525dcc0

Contents?: true

Size: 138 Bytes

Versions: 5

Compression:

Stored size: 138 Bytes

Contents

class NilClass
  def blank?; true end

  def to_openobject deep = false
    OpenObject.new
  end
  alias_method :to_oo, :to_openobject
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby_ext-4.0.3 lib/ruby_ext/core/nil_class.rb
ruby_ext-4.0.2 lib/ruby_ext/core/nil_class.rb
ruby_ext-4.0.1 lib/ruby_ext/core/nil_class.rb
ruby_ext-4.0.0 lib/ruby_ext/core/nil_class.rb
ruby_ext-0.5.10 lib/ruby_ext/core/nil_class.rb