This is the second post about Celluloid & the basic installation of Celluloid in your project.

First of all you can install celluloid by,

gem install celluloid

To import Celluloid into your project,

require 'celluloid/current'

Once you require 'celluloid/current', the imported Ruby class supports all the Celluloid APIs. You can use the power of Celluloid in your class.


If you want to add Celluloid into your GemFile

gem 'celluloid'

Cheers, DilumN

Comments