Sha256: ed633b3b242fa061131b4e91e84c4e85b6caf7ec3d8daa05e944ad9c287ef46b
Contents?: true
Size: 192 Bytes
Versions: 1
Compression:
Stored size: 192 Bytes
Contents
module Str2Duck::CoreExt::Object def to_duck (self.class <= String) ? Str2Duck.parse(self) : self end alias :duck :to_duck end Object.__send__ :include, Str2Duck::CoreExt::Object
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
str2duck-2.0.0 | lib/str2duck/core_ext/object.rb |