Sha256: a452a8f95aa9db97b6a73381a9dbcc947355fc63293691a9c9434ae01ebad2ca
Contents?: true
Size: 1.2 KB
Versions: 2
Compression:
Stored size: 1.2 KB
Contents
module Vedeu # Binds various events for running and manipulating Vedeu. When # called provide a variety of core functions and behaviours. # They are soft-namespaced using underscores. # # @note # The methods these modules use are private, and should not be # called directly, however the produced events are all public and # are highly recommended to be used. # # Unbinding any of these events is likely to cause problems, so I # would advise leaving them alone. A safe rule: when the name # starts and ends with an underscore, it's probably used by Vedeu # internally. # 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::Visibility.setup! Vedeu::Bindings::Movement.setup! Vedeu::Bindings::Menus.setup! Vedeu::Bindings::DRB.setup! Vedeu::Bindings::Focus.setup! Vedeu::Bindings::Refresh.setup! Vedeu::Bindings::System.setup! true end end # Bindings end # Vedeu Vedeu::Bindings.setup!
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.6.10 | lib/vedeu/bindings/bindings.rb |
vedeu-0.6.9 | lib/vedeu/bindings/bindings.rb |