Class: ActiveScaffold::Bridges::Bitfields

Inherits:
DataStructures::Bridge show all
Defined in:
lib/active_scaffold/bridges/bitfields.rb,
lib/active_scaffold/bridges/bitfields/list_ui.rb,
lib/active_scaffold/bridges/bitfields/bitfields_bridge.rb

Defined Under Namespace

Modules: BitfieldsBridge, ListColumnHelpers

Class Method Summary collapse

Methods inherited from DataStructures::Bridge

install?, javascripts, prepare, run, stylesheets

Class Method Details

.installObject



2
3
4
5
6
# File 'lib/active_scaffold/bridges/bitfields.rb', line 2

def self.install
  Dir[File.join(__dir__, 'bitfields', '*.rb')].each { |file| require file }
  ActiveScaffold::Config::Core.send :prepend, ActiveScaffold::Bridges::Bitfields::BitfieldsBridge
  ActiveScaffold::Config::Core.after_config_callbacks << :_setup_bitfields
end