Sha256: ec88476b58c06eb6a1d856e75f38079163b903e26dce6b3af72a049adc9b715c

Contents?: true

Size: 121 Bytes

Versions: 2

Compression:

Stored size: 121 Bytes

Contents

module Modifiable
  def modify(value)
    if @modifier
      @modifier.call(value)
    else
      value
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stamp-0.6.0 lib/stamp/emitters/modifiable.rb
stamp-0.5.0 lib/stamp/emitters/modifiable.rb