Module: RapidUi::ViewHelpers

Defined in:
lib/rapid_ui/helpers.rb

Instance Method Summary collapse

Instance Method Details

#uxObject

Shortcut for accessing the ui method We are calling it UX for a number of reasons.

  1. To avoid name collisions during the recursion.

  2. It looks better then ‘ui’ on the front end.



10
11
12
# File 'lib/rapid_ui/helpers.rb', line 10

def ux
  Ui::Display.instance
end