Class: Bootcamp::Recruit

Inherits:
Object
  • Object
show all
Includes:
Depot::Tasks
Defined in:
lib/bootcamp/recruit.rb

Overview

A recruit is only given orders by a drill instructor

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Depot::Tasks

included

Constructor Details

#initialize(orders = {}) ⇒ Recruit

orders are the options given to a recruit



10
11
12
13
14
# File 'lib/bootcamp/recruit.rb', line 10

def initialize(orders = {})
  self.class.instance_methods.each do |meth|
    instance_variable_set("@#{meth}", orders[meth]) if orders.key?(meth)
  end
end

Instance Attribute Details

#frameworkObject

Returns the value of attribute framework.



7
8
9
# File 'lib/bootcamp/recruit.rb', line 7

def framework
  @framework
end

#projectObject

Returns the value of attribute project.



7
8
9
# File 'lib/bootcamp/recruit.rb', line 7

def project
  @project
end

#test_suiteObject

Returns the value of attribute test_suite.



7
8
9
# File 'lib/bootcamp/recruit.rb', line 7

def test_suite
  @test_suite
end

Instance Method Details

#initialize_pluginObject

Set actual plugin



29
30
# File 'lib/bootcamp/recruit.rb', line 29

def initialize_plugin
end

#prepare_testsObject

Create plugin tests



33
34
# File 'lib/bootcamp/recruit.rb', line 33

def prepare_tests
end

#recon_libraryObject

Get the library based off the project



21
22
# File 'lib/bootcamp/recruit.rb', line 21

def recon_library
end

#run_manifestObject

Read proper manifest documents



25
26
# File 'lib/bootcamp/recruit.rb', line 25

def run_manifest
end

#setup_projectObject

Create project files and folders



17
18
# File 'lib/bootcamp/recruit.rb', line 17

def setup_project
end