Sha256: dd99c77cd541ddfc7602e4c56c2fd6028ee594138c6562f350709a070ed07a27

Contents?: true

Size: 320 Bytes

Versions: 62

Compression:

Stored size: 320 Bytes

Contents

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


Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
hobo_support-2.0.0.pre7 lib/hobo_support/blankslate.rb
hobo_support-2.0.0.pre6 lib/hobo_support/blankslate.rb
hobo_support-2.0.0.pre5 lib/hobo_support/blankslate.rb
hobo_support-2.0.0.pre4 lib/hobo_support/blankslate.rb
hobo_support-1.3.2 lib/hobo_support/blankslate.rb
hobo_support-1.3.1 lib/hobo_support/blankslate.rb
hobo_support-2.0.0.pre3 lib/hobo_support/blankslate.rb
hobo_support-2.0.0.pre2 lib/hobo_support/blankslate.rb
hobo_support-2.0.0.pre1 lib/hobo_support/blankslate.rb
hobo_support-1.4.0.pre8 lib/hobo_support/blankslate.rb
hobo_support-1.4.0.pre7 lib/hobo_support/blankslate.rb
hobo_support-1.4.0.pre6 lib/hobo_support/blankslate.rb
hobo_support-1.4.0.pre5 lib/hobo_support/blankslate.rb
hobo_support-1.4.0.pre4 lib/hobo_support/blankslate.rb
hobo_support-1.4.0.pre3 lib/hobo_support/blankslate.rb
hobo_support-1.4.0.pre2 lib/hobo_support/blankslate.rb
hobo_support-1.3.0 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.RC4 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.RC3 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.RC2 lib/hobo_support/blankslate.rb