Sha256: 5db6a8e07dc72b5a4c49fdd716e07cb1dd5dc5e913d54698d94fe681e74bf06d
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.3" 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.3 | lib/hobosupport.rb |