Class: GoNative::Plugins::IOS::Version
- Inherits:
-
Object
- Object
- GoNative::Plugins::IOS::Version
- Extended by:
- DSL::Serviceable
- Defined in:
- lib/gonative/plugins/ios/version.rb
Instance Attribute Summary collapse
-
#spec ⇒ Object
readonly
Returns the value of attribute spec.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(spec_path) ⇒ Version
constructor
A new instance of Version.
Constructor Details
#initialize(spec_path) ⇒ Version
13 14 15 |
# File 'lib/gonative/plugins/ios/version.rb', line 13 def initialize(spec_path) @spec = Pod::Specification.from_file(spec_path) end |
Instance Attribute Details
#spec ⇒ Object (readonly)
Returns the value of attribute spec.
11 12 13 |
# File 'lib/gonative/plugins/ios/version.rb', line 11 def spec @spec end |