Sha256: 66059f4010982c7395563fe48bc6720161de713c1a4fd3f2384362815b122061

Contents?: true

Size: 639 Bytes

Versions: 1

Compression:

Stored size: 639 Bytes

Contents

require 'activesupport'

require "hobosupport/fixes"
require 'hobosupport/blankslate'
require 'hobosupport/methodcall'
require 'hobosupport/methodphitamine'
require 'hobosupport/metaid'
require 'hobosupport/implies'
require 'hobosupport/enumerable'
require 'hobosupport/array'
require 'hobosupport/hash'
require 'hobosupport/module'

module HoboSupport

  VERSION = "0.8"

end


# Some teeny fixes too diminutive to go elsewhere

class Object

  # Often nice to ask e.g. some_object.is_a?(Symbol, String)
  alias_method :is_a_without_multiple_args?, :is_a?
  def is_a?(*args)
    args.any? {|a| is_a_without_multiple_args?(a) }
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hobosupport-0.8 lib/hobosupport.rb