Parent

Methods

FFI::Generator::Task

Attributes

input_fn[RW]
output_dir[RW]

Public Class Methods

new(options = {}, &blk) click to toggle source
# File lib/generator/generatortask.rb, line 7
def initialize(options = {}, &blk)
  @options = { :input_fn => '*.i', :output_dir => 'generated/' }.merge(options)
  @input_fn = @options[:input_fn]
  @output_dir = @options[:output_dir]
  yield self if block_given?
  namespace 'ffi' do
    define_generate_task
    define_clean_task
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.