Method: Syndi::Jewel::Specification#initialize
- Defined in:
- lib/syndi/jewel/specification.rb
#initialize(file) {|_self| ... } ⇒ Specification
Construct a new specification.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/syndi/jewel/specification.rb', line 32 def initialize file @name = nil @version = nil @authors = [] @syndi_version = nil @our_dir = File.('..', file) @bundle = 'Gemfile' @code_files = [] @doc_files = [] @post_message = nil @install_do = proc { nil } # Yield to block for configuration. yield self # Initiate installation. install end |