Sha256: 6b0db27139d66f8bea549ceb41b5738e2f323bfd62154250a49e381f2e6d1915

Contents?: true

Size: 486 Bytes

Versions: 3

Compression:

Stored size: 486 Bytes

Contents

require_relative 'sijka/smoke'
require_relative 'sijka/parser'
require_relative 'sijka/translator'

module Sijka
  class Sijka
    def initialize(argv, stdin)
      sijka_parser = SijkaParser.new(argv, stdin)
      @options = sijka_parser.parse_flags
      @message = sijka_parser.parse_message
    end

    def smoke
      if @options['list']
        puts 'Sijka files:', Smoke::FILE_LIST
      else
        Smoke.new(@message, @options['sijkafile']).smoke
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sijka-0.0.3.3.4 lib/sijka.rb
sijka-0.0.3.3.3 lib/sijka.rb
sijka-0.0.3.3 lib/sijka.rb