Sha256: 3108627e06342b6148f8b7c62d87370fb6d382306af87d6e208c0c838033b384
Contents?: true
Size: 768 Bytes
Versions: 2
Compression:
Stored size: 768 Bytes
Contents
--- id: installation title: Installation & Configuration --- ## Installation To install Clowne with RubyGems: ```ruby gem install clowne ``` Or add this line to your application's Gemfile: ```ruby gem 'clowne' ``` ## Configuration Basic cloner implementation looks like: ```ruby class SomeCloner < Clowne::Cloner adapter :active_record # or adapter Clowne::Adapters::ActiveRecord # some implementation ... end ``` You can configure the default adapter for cloners: ```ruby # put to initializer # e.g. config/initializers/clowne.rb Clowne.default_adapter = :active_record ``` and skip explicit adapter declaration ```ruby class SomeCloner < Clowne::Cloner # some implementation ... end ``` See the list of [available adapters](supported_adapters.md).
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
clowne-1.1.0 | docs/installation.md |
clowne-1.0.0 | docs/installation.md |