Class: Avo::GridFields::GridField
- Inherits:
-
Object
- Object
- Avo::GridFields::GridField
- Defined in:
- lib/avo/grid_fields/grid_field.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id, **args, &block) ⇒ GridField
constructor
A new instance of GridField.
Constructor Details
#initialize(id, **args, &block) ⇒ GridField
Returns a new instance of GridField.
6 7 8 |
# File 'lib/avo/grid_fields/grid_field.rb', line 6 def initialize(id, **args, &block) @id = id end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/avo/grid_fields/grid_field.rb', line 4 def id @id end |