Class: Intent::Verbs::Install

Inherits:
Object
  • Object
show all
Defined in:
lib/intent/verbs/install.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(documents) ⇒ Install

Returns a new instance of Install.



6
7
8
# File 'lib/intent/verbs/install.rb', line 6

def initialize(documents)
  @documents = documents
end

Instance Attribute Details

#documentsObject (readonly)

Returns the value of attribute documents.



4
5
6
# File 'lib/intent/verbs/install.rb', line 4

def documents
  @documents
end

Instance Method Details

#runObject



10
11
12
13
14
15
16
# File 'lib/intent/verbs/install.rb', line 10

def run
  # Preprequisite checks
  # return env_not_detected! unless @documents.env_detected?
  # return already_installed! if @documents.install_detected?

  
end