Sha256: 68555b6bb927922250873dd63cc0f41eb0775c36573a1b4550926f782a9459f8

Contents?: true

Size: 466 Bytes

Versions: 4

Compression:

Stored size: 466 Bytes

Contents

#!/usr/bin/env ruby
require 'bato/tagatala'
require 'rubygems'

if pangalan_ng_file = ARGV[0]
  tagatala = Bato::Tagatala.new
  kodigo = File.read pangalan_ng_file, encoding: 'utf-8'
  ruby_kodigo = tagatala.sa_ruby kodigo
  raise 'Ang pinakamababang kinakailangan bersiyon ng Ruby ay 2.4' if
    Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.4')
  eval ruby_kodigo
else
  puts <<-EOS
Hindi tinukoy ang file. Ang tamang sintaks ay:

bato file.bato
  EOS

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bato-0.0.10 bin/bato
bato-0.0.9 bin/bato
bato-0.0.8 bin/bato
bato-0.0.7 bin/bato