Method: Build::Rule::Parameter#initialize

Defined in:
lib/build/rule.rb

#initialize(direction, name, options = {}, &block) ⇒ Parameter

Returns a new instance of Parameter.



25
26
27
28
29
30
31
32
# File 'lib/build/rule.rb', line 25

def initialize(direction, name, options = {}, &block)
  @direction = direction
  @name = name
  
  @options = options
  
  @dynamic = block_given? ? Proc.new(&block) : nil
end