Sha256: 6eeb3b2d078e123081e4bfe6123cec02309b671bd62becfc5f916364b2fb0520

Contents?: true

Size: 572 Bytes

Versions: 61

Compression:

Stored size: 572 Bytes

Contents

controller :controller do
  action :index do
    on_entry %{
      original_page = {
        _head: "head",
        _next: "next",
        _id: "id",
        _type: "hash",
        entries: {
          "id0": {_sig: "sig1"},
          "id1": {_sig: "sig2"},
        },
        _hash: "hash",
      };

      //One page done the right away, another, the wrong way
      copied_page = CopyPage(original_page);
      not_copied_page = original_page;

      //The copied page is now modified and does
      //not contain _hash
      copied_page._next = "test"
    }
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
flok-0.0.105 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.103 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.102 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.101 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.100 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.99 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.98 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.97 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.96 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.95 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.94 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.93 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.92 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.91 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.90 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.89 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.88 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.87 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.86 spec/kern/assets/vm/macros/copy_page_ch.rb
flok-0.0.85 spec/kern/assets/vm/macros/copy_page_ch.rb