Class: LgPodPlugin::ExternalPod

Inherits:
Object
  • Object
show all
Defined in:
lib/lg_pod_plugin/pod/external_pod.rb

Direct Known Subclasses

ReleasePod

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(target, name, hash) ⇒ ExternalPod

Returns a new instance of ExternalPod.



12
13
14
15
16
17
# File 'lib/lg_pod_plugin/pod/external_pod.rb', line 12

def initialize(target, name, hash)
  @target = target
  @released_pod = false
  @checkout_options = hash
  @name = LUtils.pod_real_name(name)
end

Instance Attribute Details

#checkout_optionsObject (readonly)

Returns the value of attribute checkout_options.



11
12
13
# File 'lib/lg_pod_plugin/pod/external_pod.rb', line 11

def checkout_options
  @checkout_options
end

#nameObject (readonly)

Returns the value of attribute name.



9
10
11
# File 'lib/lg_pod_plugin/pod/external_pod.rb', line 9

def name
  @name
end

#released_podObject (readonly)

Returns the value of attribute released_pod.



10
11
12
# File 'lib/lg_pod_plugin/pod/external_pod.rb', line 10

def released_pod
  @released_pod
end

#specObject (readonly)

Returns the value of attribute spec.



7
8
9
# File 'lib/lg_pod_plugin/pod/external_pod.rb', line 7

def spec
  @spec
end

#targetObject (readonly)

Returns the value of attribute target.



8
9
10
# File 'lib/lg_pod_plugin/pod/external_pod.rb', line 8

def target
  @target
end