Module: NfgUi::Bootstrap::Utilities::Alignable

Included in:
Components::Nav, Components::Pagination
Defined in:
lib/nfg_ui/bootstrap/utilities/alignable.rb

Overview

Allow components to be right and center aligned

Instance Method Summary collapse

Instance Method Details

#centerObject



8
9
10
# File 'lib/nfg_ui/bootstrap/utilities/alignable.rb', line 8

def center
  options.fetch(:center, false)
end

#rightObject



12
13
14
# File 'lib/nfg_ui/bootstrap/utilities/alignable.rb', line 12

def right
  options.fetch(:right, false)
end