Sha256: 525b16792157ba2c2e9c5b9a5f2e8e3fbdba024d0417c224cd2f6a05d82c4156

Contents?: true

Size: 1005 Bytes

Versions: 8

Compression:

Stored size: 1005 Bytes

Contents

module Vedeu

  module Bindings

    extend self

    # Setup events for running Vedeu. This method is called by Vedeu.
    #
    # @return [TrueClass]
    def setup!
      Vedeu::Events::Repository.reset!

      Vedeu::Bindings::Application.setup!
      Vedeu::Bindings::Document.setup!
      Vedeu::Bindings::DRB.setup!
      Vedeu::Bindings::Focus.setup!
      Vedeu::Bindings::Menus.setup!
      Vedeu::Bindings::Movement.setup!
      Vedeu::Bindings::Refresh.setup!
      Vedeu::Bindings::System.setup!
      Vedeu::Bindings::View.setup!
      Vedeu::Bindings::Visibility.setup!

      true
    end

    # Setup aliases for certain registered events.
    # This method is called by Vedeu.
    #
    # @return [TrueClass]
    def setup_aliases!
      Vedeu::Bindings::Application.setup_aliases!
      Vedeu::Bindings::Movement.setup_aliases!
      Vedeu::Bindings::Visibility.setup_aliases!

      true
    end

  end # Bindings

  Vedeu::Bindings.setup!
  Vedeu::Bindings.setup_aliases!

end # Vedeu

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
vedeu-0.6.27 lib/vedeu/bindings/bindings.rb
vedeu-0.6.26 lib/vedeu/bindings/bindings.rb
vedeu-0.6.25 lib/vedeu/bindings/bindings.rb
vedeu-0.6.24 lib/vedeu/bindings/bindings.rb
vedeu-0.6.23 lib/vedeu/bindings/bindings.rb
vedeu-0.6.22 lib/vedeu/bindings/bindings.rb
vedeu-0.6.21 lib/vedeu/bindings/bindings.rb
vedeu-0.6.20 lib/vedeu/bindings/bindings.rb