Class: Rails::GemBuilder
- Defined in:
- lib/rails/gem_builder.rb
Overview
this class hijacks the functionality of Gem::Installer by overloading its initializer to only provide the information needed by Gem::Installer#build_extensions (which happens to be what we have)
Instance Method Summary collapse
-
#initialize(spec, gem_dir) ⇒ GemBuilder
constructor
A new instance of GemBuilder.
-
#say(message) ⇒ Object
silence the underlying builder.
Constructor Details
#initialize(spec, gem_dir) ⇒ GemBuilder
Returns a new instance of GemBuilder.
11 12 13 14 |
# File 'lib/rails/gem_builder.rb', line 11 def initialize(spec, gem_dir) @spec = spec @gem_dir = gem_dir end |
Instance Method Details
#say(message) ⇒ Object
silence the underlying builder
17 18 |
# File 'lib/rails/gem_builder.rb', line 17 def say() end |