Module: ClientSideValidations::Generators

Defined in:
lib/client_side_validations/generators.rb,
lib/client_side_validations/generators/rails_validations.rb,
lib/generators/client_side_validations/install_generator.rb,
lib/generators/client_side_validations/copy_assets_generator.rb

Defined Under Namespace

Classes: CopyAssetsGenerator, InstallGenerator, RailsValidations

Constant Summary collapse

Assets =
[]

Class Method Summary collapse

Class Method Details

.register_assets(klass) ⇒ Object



5
6
7
# File 'lib/client_side_validations/generators.rb', line 5

def self.register_assets(klass)
  Assets.push(*klass.assets)
end