Sha256: 5ce7dfc6a0a563a8c3d048a8b72119086d0d9c54b8dfce43c50e5bb700389288

Contents?: true

Size: 266 Bytes

Versions: 2

Compression:

Stored size: 266 Bytes

Contents

# Ruby 1.9 introduces BasicObject, until then use this approximation from here:
# http://onestepback.org/index.cgi/Tech/Ruby/BlankSlate.rdoc
unless defined? BasicObject
  class BasicObject
    instance_methods.each { |m| undef_method m unless m =~ /^__/ }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
automateit-0.80624 lib/inactive_support/basic_object.rb
automateit-0.80116 lib/inactive_support/basic_object.rb