Class: LgPodPlugin::ExternalPod
- Inherits:
-
Object
- Object
- LgPodPlugin::ExternalPod
- Defined in:
- lib/lg_pod_plugin/pod/external_pod.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#checkout_options ⇒ Object
readonly
Returns the value of attribute checkout_options.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#released_pod ⇒ Object
readonly
Returns the value of attribute released_pod.
-
#spec ⇒ Object
readonly
Returns the value of attribute spec.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(target, name, hash) ⇒ ExternalPod
constructor
A new instance of ExternalPod.
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_options ⇒ Object (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 end |
#name ⇒ Object (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_pod ⇒ Object (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 |
#spec ⇒ Object (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 |
#target ⇒ Object (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 |