Class: Phoenx::Dependency

Inherits:
Object
  • Object
show all
Defined in:
lib/phoenx/entities/dependency.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(target_name, embed = true, path = nil) ⇒ Dependency



8
9
10
11
12
# File 'lib/phoenx/entities/dependency.rb', line 8

def initialize(target_name, embed = true, path = nil)
  @target_name = target_name
  @path = path
  @embed = embed
end

Instance Attribute Details

#embedObject

Returns the value of attribute embed.



6
7
8
# File 'lib/phoenx/entities/dependency.rb', line 6

def embed
  @embed
end

#pathObject

Returns the value of attribute path.



5
6
7
# File 'lib/phoenx/entities/dependency.rb', line 5

def path
  @path
end

#target_nameObject

Returns the value of attribute target_name.



4
5
6
# File 'lib/phoenx/entities/dependency.rb', line 4

def target_name
  @target_name
end