Sha256: 987287c2eddcccfae5a8e5f25ee488b667e29a9589f6de24402f87120253b746

Contents?: true

Size: 531 Bytes

Versions: 61

Compression:

Stored size: 531 Bytes

Contents

controller :my_controller do
  spots "hello", "world"

  on_entry %{
      every_025_called_count = 0;
      every_05_called_count = 0;
      every_1_called_count = 0;
  }

  action :my_action do
    on "next", %{
      Goto("other");
    }

    every (0.25).seconds, %{
      every_025_called_count += 1;
    }
  end
  
  action :other do
    every (0.5).seconds, %{
      every_05_called_count += 1;
    }

    every 1.seconds, %{
      every_1_called_count += 1;
    }

    on "back", %{
      Goto("my_action")
    }
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

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