SimpleCalendar::Cells

Use Simple Calendar rails in Cells.

Installation

Add this line to your application's Gemfile:

gem 'simple_calendar_cells'

And then execute:

$ bundle

Or install it yourself as:

$ gem install simple_calendar_cells

Usage

To use the SimpleCalendar gem within your Cells view models, just do

  class Schedule < Cell::ViewModel
    include SimpleCalendar::Cells # include this module

Then methods calendar, week_calendar & month_calendar from simple calendar in your cell will work.

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.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[imamulakhyar93]/simple_calendar_cells. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.