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-1.3.0.RC1 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.RC lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre31 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre29 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre28 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre27 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre26 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre25 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre24 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre23 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre22 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre21 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre20 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre19 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre18 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre16 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre15 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre14 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre13 lib/hobo_support/blankslate.rb
hobo_support-1.3.0.pre12 lib/hobo_support/blankslate.rb