Sha256: e4125234120f52bc259ce3e91c289ded14b1b6770b90825be09d9af87c5bfe51

Contents?: true

Size: 106 Bytes

Versions: 2

Compression:

Stored size: 106 Bytes

Contents

class Stringify < MethodDecorator
  def call(orig, *args, &blk)
    orig.call(*args, &blk).to_s
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
method_decorators-0.9.1 spec/support/stringify.rb
method_decorators-0.9.0 spec/support/stringify.rb