Sha256: 4f0d3015cf0a477a9db38e0e69d7304b33fb830303a1327b5fdbe37b21dc2ddf

Contents?: true

Size: 644 Bytes

Versions: 1

Compression:

Stored size: 644 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'irb'
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'te_reo_maori'

def putanga
  exit
end

extend Tau # Make numbers available

puts 'Nau mai haere mai. Welcome to this application for learning and interacting with Maori.'
puts 'Type "putanga" to exit'
puts 'Try and perform +, -, * (times), / (divide) with Maori'
puts 'The numbers are: '
Tau.rarangi.each do |tau, whakamaoritanga|
  puts "#{tau}: #{whakamaoritanga}"
end
puts 'Example of bigger numbers. 12: (tekau ma rua). Add 23 + 33: (rua tekau ma toru) + (toru tekau ma toru)  '

IRB.start(__FILE__)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
te_reo_maori-0.1.1 exe/te_reo_maori