Sha256: caabc0698e3763459efe35b8adfe646379b8d29f8c1e1f341b78025debec2c1f

Contents?: true

Size: 462 Bytes

Versions: 4

Compression:

Stored size: 462 Bytes

Contents

require "swift_generator/version"

require "swift_generator/specfile_parser"

module SwiftGenerator

  class Generator

    attr_accessor :spec_file_path
    attr_accessor :out_dir_path

    def initialize( spec_file_path, out_dir_str )
      @spec_file_path = spec_file_path
      @out_dir_path = out_dir_str         # may be nil
    end

    def generate
      parser = SpecfileParser.new( @spec_file_path )
      parser.process_specfile( )

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
swift_generator-0.3.2 lib/swift_generator.rb
swift_generator-0.3.1 lib/swift_generator.rb
swift_generator-0.3.0 lib/swift_generator.rb
swift_generator-0.1.2 lib/swift_generator.rb