Class: Xeno::AgentDefinition::Schedule

Inherits:
Struct
  • Object
show all
Defined in:
lib/xeno/agent_definition.rb

Instance Attribute Summary collapse

Instance Attribute Details

#cronObject

Returns the value of attribute cron

Returns:

  • (Object)

    the current value of cron



14
15
16
# File 'lib/xeno/agent_definition.rb', line 14

def cron
  @cron
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



14
15
16
# File 'lib/xeno/agent_definition.rb', line 14

def name
  @name
end

#promptObject

Returns the value of attribute prompt

Returns:

  • (Object)

    the current value of prompt



14
15
16
# File 'lib/xeno/agent_definition.rb', line 14

def prompt
  @prompt
end