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.84 spec/kern/assets/interval2.rb
flok-0.0.83 spec/kern/assets/interval2.rb
flok-0.0.82 spec/kern/assets/interval2.rb
flok-0.0.81 spec/kern/assets/interval2.rb
flok-0.0.80 spec/kern/assets/interval2.rb
flok-0.0.79 spec/kern/assets/interval2.rb
flok-0.0.78 spec/kern/assets/interval2.rb
flok-0.0.77 spec/kern/assets/interval2.rb
flok-0.0.76 spec/kern/assets/interval2.rb
flok-0.0.75 spec/kern/assets/interval2.rb
flok-0.0.74 spec/kern/assets/interval2.rb
flok-0.0.73 spec/kern/assets/interval2.rb
flok-0.0.72 spec/kern/assets/interval2.rb
flok-0.0.71 spec/kern/assets/interval2.rb
flok-0.0.70 spec/kern/assets/interval2.rb
flok-0.0.69 spec/kern/assets/interval2.rb
flok-0.0.68 spec/kern/assets/interval2.rb
flok-0.0.67 spec/kern/assets/interval2.rb
flok-0.0.66 spec/kern/assets/interval2.rb
flok-0.0.65 spec/kern/assets/interval2.rb