Sha256: d836c9042b36f62e438c9efdd1382b4557b0cdcbc228b54e5de384baf53baf7e

Contents?: true

Size: 233 Bytes

Versions: 18

Compression:

Stored size: 233 Bytes

Contents

# Define BlankSlate in case ActiveSupport aint present
unless defined? BlankSlate
  class BlankSlate
    instance_methods.reject { |m| m =~ /^__/ }.each { |m| undef_method m }
    def initialize(me)
      @me = me
    end
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
hobosupport-0.9.0 lib/hobo_support/blankslate.rb
hobosupport-0.8.10 lib/hobo_support/blankslate.rb
hobosupport-0.8.9 lib/hobo_support/blankslate.rb
hobosupport-0.8.8 lib/hobo_support/blankslate.rb
hobo-support-0.1 lib/hobosupport/blankslate.rb
hobosupport-0.1 lib/hobosupport/blankslate.rb
hobosupport-0.7.4 lib/hobosupport/blankslate.rb
hobosupport-0.8.3 lib/hobosupport/blankslate.rb
hobosupport-0.8.4 lib/hobo_support/blankslate.rb
hobosupport-0.8.5 lib/hobo_support/blankslate.rb
hobosupport-0.8.6 lib/hobo_support/blankslate.rb
hobosupport-0.8.7 lib/hobo_support/blankslate.rb
hobosupport-0.8.2 lib/hobosupport/blankslate.rb
hobosupport-0.2 lib/hobosupport/blankslate.rb
hobosupport-0.7.3.99 lib/hobosupport/blankslate.rb
hobosupport-0.7.5 lib/hobosupport/blankslate.rb
hobosupport-0.8 lib/hobosupport/blankslate.rb
hobosupport-0.8.1 lib/hobosupport/blankslate.rb