Sha256: 13029cda851ad382ce7803ef3267293d1ba941acfb9ada0259fcbafb435840e5

Contents?: true

Size: 207 Bytes

Versions: 1

Compression:

Stored size: 207 Bytes

Contents

module Frappuccino
  class MapProperty < Property
    def initialize(property, &block)
      @property = property
      @block = block
    end

    def now
      @block.call(@property.now)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
frappuccino-0.3.0 lib/frappuccino/property/map_property.rb