Sha256: 9bbbedd24fa6ca7fa3f76bb51d8b4b9f452093ae7d2867def474ad1bd7d75097
Contents?: true
Size: 641 Bytes
Versions: 1
Compression:
Stored size: 641 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.2" 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.2 | lib/hobosupport.rb |