Method: Binary#initialize

Defined in:
lib/makeconf/binary.rb

#initialize(options) ⇒ Binary

Returns a new instance of Binary.

Raises:

  • (ArgumentError)


4
5
6
7
8
9
# File 'lib/makeconf/binary.rb', line 4

def initialize(options)
  raise ArgumentError unless options.kind_of?(Hash)
  super(options)
  @output = @id + Platform.executable_extension
  @output_type = 'binary'
end