Skip to content
No description, website, or topics provided.
Ruby C++ Makefile Shell
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
benchmark using Benchmark Driver #90 Sep 17, 2019
bin first commit Aug 15, 2019
ext/tatara
lib using module Tatara #6 Aug 16, 2019
test
.gitignore ignore tatara.so #2 Aug 15, 2019
.travis.yml first commit Aug 15, 2019
Gemfile add benchmark_driver for Gemfile #90 Sep 17, 2019
Gemfile.lock add benchmark_driver for Gemfile #90 Sep 17, 2019
LICENSE
Makefile build Makefile #2 Aug 15, 2019
README.md add Usage #74 Sep 17, 2019
Rakefile replace benchmark #72 Sep 5, 2019
tatara.gemspec comment out #99 Sep 17, 2019

README.md

Tatara

Add Type to Ruby!

Installation

Add this line to your application's Gemfile:

gem 'tatara'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tatara

Usage

@integer = Tatara::Integer.new # => This type is Integer!
@integer.value = 42
puts @integer.value # => 42 and type is Integer!
@integer.value = "42" #=> Error!

Tatara supported Integer, Float, String.
And, Container for Vector, Array, Map!

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/tatara.

You can’t perform that action at this time.