Sha256: 5dfb6a3f33341fabcef046284c38e496aec3cd06c9b258b556696903e84cf985

Contents?: true

Size: 203 Bytes

Versions: 1

Compression:

Stored size: 203 Bytes

Contents

module Scarpe
  module Container
    def append(&block)
      prev_id = @app.current_id
      @app.current_id = object_id
      @app.instance_eval &block
      @app.current_id = prev_id
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scarpe-0.1.0 lib/scarpe/container.rb