class SwiftGenerator::Generator

Attributes

out_dir_path[RW]
spec_file_path[RW]

Public Class Methods

new( spec_file_path, out_dir_str ) click to toggle source
# File lib/swift_generator.rb, line 12
def initialize( spec_file_path, out_dir_str )
  @spec_file_path = spec_file_path
  @out_dir_path = out_dir_str         # may be nil
end

Public Instance Methods

generate() click to toggle source
# File lib/swift_generator.rb, line 17
def generate
  parser = SpecfileParser.new( @spec_file_path )
  parser.process_specfile( )

end