Class: Pod::Spec
- Inherits:
-
Object
- Object
- Pod::Spec
- Defined in:
- lib/stool/Core/LibInfo.rb
Instance Attribute Summary collapse
-
#ios ⇒ Object
Returns the value of attribute ios.
-
#name ⇒ Object
Returns the value of attribute name.
-
#version ⇒ Object
Returns the value of attribute version.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Spec
constructor
A new instance of Spec.
-
#method_missing(method_id, *arguments, &block) ⇒ Object
attr_accessor :name attr_accessor :name.
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_id, *arguments, &block) ⇒ Object
attr_accessor :name attr_accessor :name
18 19 20 |
# File 'lib/stool/Core/LibInfo.rb', line 18 def method_missing(method_id, *arguments, &block) # puts "***" + "method_id = #{method_id}" end |
Instance Attribute Details
#ios ⇒ Object
Returns the value of attribute ios.
14 15 16 |
# File 'lib/stool/Core/LibInfo.rb', line 14 def ios @ios end |
#name ⇒ Object
Returns the value of attribute name.
12 13 14 |
# File 'lib/stool/Core/LibInfo.rb', line 12 def name @name end |
#version ⇒ Object
Returns the value of attribute version.
13 14 15 |
# File 'lib/stool/Core/LibInfo.rb', line 13 def version @version end |
Class Method Details
.fromFile(path) ⇒ Object
29 30 31 32 |
# File 'lib/stool/Core/LibInfo.rb', line 29 def self.fromFile(path) content = File.open(path, 'r:utf-8', &:read) eval(content,nil,path.to_s) end |