class Xanthus::Configuration
Attributes
affiliation[RW]
dataverse_conf[RW]
description[RW]
email[RW]
github_conf[RW]
jobs[RW]
name[RW]
params[RW]
scripts[RW]
seed[RW]
vms[RW]
Public Class Methods
new()
click to toggle source
# File lib/xanthus/configuration.rb, line 16 def initialize @params = Hash.new @vms = Hash.new @scripts = Hash.new @jobs = Hash.new end
Public Instance Methods
dataverse() { |dataverse| ... }
click to toggle source
# File lib/xanthus/configuration.rb, line 47 def dataverse dataverse = Dataverse.new yield(dataverse) @dataverse_conf = dataverse end
github() { |github| ... }
click to toggle source
# File lib/xanthus/configuration.rb, line 41 def github github = GitHub.new yield(github) @github_conf = github end
job(name) { |v| ... }
click to toggle source
# File lib/xanthus/configuration.rb, line 34 def job name v = Job.new yield(v) v.name = name @jobs[name] = v end
script(name) { || ... }
click to toggle source
# File lib/xanthus/configuration.rb, line 30 def script name @scripts[name] = yield end
to_readme_md()
click to toggle source
# File lib/xanthus/configuration.rb, line 53 def to_readme_md %Q{ # #{@name} authors: #{@authors} affiliation: #{@affiliation} email: #{@email} seed: #{@seed} ## Description #{@description} } end
vm(name) { |vm| ... }
click to toggle source
# File lib/xanthus/configuration.rb, line 23 def vm name vm = VirtualMachine.new yield(vm) vm.name = name @vms[name] = vm end