Sha256: 78b50f0ca4b08e263185f1b2850b02ebe925d3f48fa9a53cfed28e75af5c76d8
Contents?: true
Size: 376 Bytes
Versions: 4
Compression:
Stored size: 376 Bytes
Contents
class Forgery def self.Extend(object) case object when Array Forgery::Extensions::Array.new(object) when Hash Forgery::Extensions::Hash.new(object) when Range Forgery::Extensions::Range.new(object.first, object.last, object.exclude_end?) when String Forgery::Extensions::String.new(object) else object end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
forgery-0.4.3 | lib/forgery/extend.rb |
forgery-0.4.2 | lib/forgery/extend.rb |
forgery-0.4.1 | lib/forgery/extend.rb |
forgery-0.4.0 | lib/forgery/extend.rb |