Class: GemPackage
- Inherits:
-
Object
- Object
- GemPackage
- Defined in:
- lib/gem_raker.rb
Instance Attribute Summary collapse
-
#package_dir ⇒ Object
Returns the value of attribute package_dir.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
21 22 23 24 25 26 |
# File 'lib/gem_raker.rb', line 21 def method_missing(method, *args) if (method == :fill_spec || method == :name || method == :version) $stderr.puts(error = "GemPackage must define the #{method} method") raise Exception.new(error) end end |
Instance Attribute Details
#package_dir ⇒ Object
Returns the value of attribute package_dir.
19 20 21 |
# File 'lib/gem_raker.rb', line 19 def package_dir @package_dir end |