Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

split color_data into separate files #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nanobowers
Copy link
Contributor

@kou This is the first half of the pull-request in #23, which in prepararation for solving #8.

If this is satisfactory, the remaining part will be submitted in a second pull request.

lib/colors/color_data.rb Outdated Show resolved Hide resolved
Comment on lines +2 to +4
require_relative "./color_data/tableau"
require_relative "./color_data/xkcd"
require_relative "./color_data/css4"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these references also required to change paths?

end
end
require_relative "color_data/matplotlib"
require_relative "./color_data/tableau"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
require_relative "./color_data/tableau"
require_relative "color_data/tableau"

end
require_relative "color_data/matplotlib"
require_relative "./color_data/tableau"
require_relative "./color_data/xkcd"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
require_relative "./color_data/xkcd"
require_relative "color_data/xkcd"

require_relative "color_data/matplotlib"
require_relative "./color_data/tableau"
require_relative "./color_data/xkcd"
require_relative "./color_data/css4"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
require_relative "./color_data/css4"
require_relative "color_data/css4"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants