Global variables
Below is a list of available variables that are able to be used in a seed file.
@seed_file
type: string
The Ruby File
object with the value of the Seed file selected for seeding.
@owner
type: string
The owner of the GitLab Group created to house the seed data. By default, this is set to the root
user.
@name
type: string
The name of the seed. This will be equal to the name of the seed file without the extension. For instance, if the file name was beautiful_data.rb
, the @name
would be set to beautiful_data
.
@group
type: string
The group that contains all seeded data.
@logger
The logger object used to log output.