Module: RbacRls::Generators::GeneratorHelpers

Included in:
CustomMigrationGenerator, GroupPermissionGenerator
Defined in:
lib/generators/generator_helpers.rb

Overview

Some helpers for generating scaffolding

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes.



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

def attributes
  @attributes
end

#optionsObject

Returns the value of attribute options.



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

def options
  @options
end