Sha256: 1a626bc5d49ef2bba4f63c2c3960a4e4ef63f44a11dcf6e1eb48c35e02dccb48

Contents?: true

Size: 690 Bytes

Versions: 61

Compression:

Stored size: 690 Bytes

Contents

controller :my_controller do
  services :vm

  action :my_action do
    on_entry %{
      var entry = {
        hello: "world"
      }

      page = NewPage("array", "test");

      SetPageHead(page, "head");
      SetPageNext(page, "next");
      EntryInsert(page, 0, entry);


      var watch_info = {
        ns: "spec",
        id: "test"
      }

      var write_info = {
        ns: "spec",
        page: page
      };

      Request("vm", "write", write_info);
    }

    on "next", %{
      page2 = CopyPage(page);
      SetPageHead(page2, "head2");
      var write_info = {
        ns: "spec",
        page: page2
      };
      Request("vm", "write", write_info);
    }
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

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