Module: Vedeu::Bindings::Application

Extended by:
Application
Included in:
Application
Defined in:
lib/vedeu/bindings/application.rb

Overview

System events relating to movement of cursors or interfaces.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.goto!Object (private)



22
23
24
25
26
27
28
# File 'lib/vedeu/bindings/application.rb', line 22

def goto!
  Vedeu.bind(:_goto_) do |controller, action, **args|
    Vedeu::Runtime::Router.goto(controller, action, **args)
  end

  Vedeu.bind_alias(:_action_, :_goto_)
end

.setup!TrueClass

Setup events relating to client applications. This method is called by Vedeu.

Returns:

  • (TrueClass)


15
16
17
# File 'lib/vedeu/bindings/application.rb', line 15

def setup!
  goto!
end

Instance Method Details

#goto!Object (private)



22
23
24
25
26
27
28
# File 'lib/vedeu/bindings/application.rb', line 22

def goto!
  Vedeu.bind(:_goto_) do |controller, action, **args|
    Vedeu::Runtime::Router.goto(controller, action, **args)
  end

  Vedeu.bind_alias(:_action_, :_goto_)
end

#setup!TrueClass

Setup events relating to client applications. This method is called by Vedeu.

Returns:

  • (TrueClass)


15
16
17
# File 'lib/vedeu/bindings/application.rb', line 15

def setup!
  goto!
end