Sha256: 7ae6708c3a9d230815e8df35d01e2696cd6ede45bfea8b1198814ee4280661d0
Contents?: true
Size: 1.4 KB
Versions: 1
Compression:
Stored size: 1.4 KB
Contents
# SmartCore::Engine · [![Gem Version](https://badge.fury.io/rb/smart_engine.svg)](https://badge.fury.io/rb/smart_engine) [![Build Status](https://travis-ci.org/smart-rb/smart_engine.svg?branch=master)](https://travis-ci.org/smart-rb/smart_engine) Generic SmartCore functionality. ## Installation ```ruby gem 'smart_engine' ``` ```shell bundle install # --- or --- gem install smart_engine ``` ```ruby require 'smart_core' ``` --- ## Technologies - [Global set of error types](#global-set-of-error-types) - [Simple reenternant lock](#simple-reenternant-lock) --- ### Global set of error types - `SmartCore::Error` (inherited from `::StandardError`); - `SmartCore::ArgumentError` (inherited from `::ArgumentError`); - `SmartCore::FrozenError` (inherited from `::FrozenError`); - `SmartCore::NameError` (inherited from `::NameError`); - `SmartCore::TypeError` (inherited from `::TypeError`); --- ### Simple reenternant lock ```ruby lock = SmartCore::Engine::Lock.new lock.synchronize { your_code } ``` --- ## Contributing - Fork it ( https://github.com/smart-rb/smart_engine ) - Create your feature branch (`git checkout -b feature/my-new-feature`) - Commit your changes (`git commit -am '[feature_context] Add some feature'`) - Push to the branch (`git push origin feature/my-new-feature`) - Create new Pull Request ## License Released under MIT License. ## Authors [Rustam Ibragimov](https://github.com/0exp)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
smart_engine-0.5.0 | README.md |