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
.assets ⇒ Object
11
12
13
|
# File 'lib/client_side_validations/generators.rb', line 11
def self.assets
@@assets
end
|
.register_assets(klass) ⇒ Object
7
8
9
|
# File 'lib/client_side_validations/generators.rb', line 7
def self.register_assets(klass)
@@assets.concat(klass.assets)
end
|