maroon icon indicating copy to clipboard operation
maroon copied to clipboard

Instructions for use

Open saturnflyer opened this issue 11 years ago • 1 comments

I'm trying to wrap my head around how this fits into an application. It's been a stumbling block for me.

I would expect to install the gem and be able to require "maroon" and then get going, but that doesn't work and I don't understand what I should do.

I started down the path of adding a lib/maroon.rb file which would contain what I needed, but I keep bumping into errors.

What files need to be required and once in my project, how do I (or do I need to) generate the files/classes for the contexts?

saturnflyer avatar Jan 04 '14 03:01 saturnflyer

The intention is for two different possibilities

require 'maroon'

and

require 'maroon/kernel'

The latter is used extensively in in the source for maroon but I made have created a regression bug for the former.

The difference between the two are that the former does not alter Kernel the latter does. The pros for the latter is a more fluid syntax

runefs avatar Feb 06 '14 08:02 runefs