Sha256: 96bbf1e391ff02030041a419a0a93f2c1df59d6000b5248d7279aa9feebfaaa1

Contents?: true

Size: 688 Bytes

Versions: 7

Compression:

Stored size: 688 Bytes

Contents

module Vedeu

  module Bindings

    # System events relating to movement of cursors or interfaces.
    #
    module Application

      extend self

      # Setup events relating to client applications. This method is
      # called by Vedeu.
      #
      # @return [TrueClass]
      def setup!
        goto!
      end

      private

      # :nocov:

      # See {file:docs/events/application.md#\_goto_}
      def goto!
        Vedeu.bind(:_goto_) do |controller, action, **args|
          Vedeu::Runtime::Router.goto(controller, action, **args)
        end

        Vedeu.bind_alias(:_action_, :_goto_)
      end

      # :nocov:

    end # Application

  end # Bindings

end # Vedeu

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vedeu-0.6.19 lib/vedeu/bindings/application.rb
vedeu-0.6.18 lib/vedeu/bindings/application.rb
vedeu-0.6.17 lib/vedeu/bindings/application.rb
vedeu-0.6.16 lib/vedeu/bindings/application.rb
vedeu-0.6.15 lib/vedeu/bindings/application.rb
vedeu-0.6.14 lib/vedeu/bindings/application.rb
vedeu-0.6.13 lib/vedeu/bindings/application.rb