Class: NiceForm::Configuration
- Inherits:
-
Object
- Object
- NiceForm::Configuration
- Defined in:
- lib/nice_form/config.rb
Instance Attribute Summary collapse
-
#primary_key ⇒ Object
Returns the value of attribute primary_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/nice_form/config.rb', line 7 def initialize @primary_key = %i[id integer] end |
Instance Attribute Details
#primary_key ⇒ Object
Returns the value of attribute primary_key.
5 6 7 |
# File 'lib/nice_form/config.rb', line 5 def primary_key @primary_key end |