Skip to content

split color_data into separate files#24

Open
nanobowers wants to merge 2 commits intored-data-tools:masterfrom
nanobowers:split_color_data
Open

split color_data into separate files#24
nanobowers wants to merge 2 commits intored-data-tools:masterfrom
nanobowers:split_color_data

Conversation

@nanobowers
Copy link
Copy Markdown
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.

Comment thread lib/colors/color_data.rb Outdated
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Comment thread lib/colors/color_data.rb
Comment on lines +2 to +4
require_relative "./color_data/tableau"
require_relative "./color_data/xkcd"
require_relative "./color_data/css4"
Copy link
Copy Markdown

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?

Comment thread lib/colors/color_data.rb
end
end
require_relative "color_data/matplotlib"
require_relative "./color_data/tableau"
Copy link
Copy Markdown

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"

Comment thread lib/colors/color_data.rb
end
require_relative "color_data/matplotlib"
require_relative "./color_data/tableau"
require_relative "./color_data/xkcd"
Copy link
Copy Markdown

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"

Comment thread lib/colors/color_data.rb
require_relative "color_data/matplotlib"
require_relative "./color_data/tableau"
require_relative "./color_data/xkcd"
require_relative "./color_data/css4"
Copy link
Copy Markdown

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