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

Support for include directives #50

Merged
merged 2 commits into from
Oct 8, 2020
Merged

Conversation

w00lf
Copy link
Contributor

@w00lf w00lf commented Oct 5, 2020

#12 support for include directives


it "includes supplied files into the document" do
expect(parse.classes.map(&:name)).to(eq(%w[Foo Doo Koo AttributeProfile]))
expect(by_name(parse.classes, "AttributeProfile").attributes.map(&:name))
Copy link

Choose a reason for hiding this comment

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

Line is too long. [81/80]

end

it "includes supplied files into the document" do
expect(parse.classes.map(&:name)).to(eq(%w[Foo Doo Koo AttributeProfile]))
Copy link

Choose a reason for hiding this comment

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

Line is too long. [82/80]

@@ -22,7 +22,7 @@ def to_s
"protected" => "#",
"private" => "-",
}.freeze
DEFAULT_CLASS_FONT = 'Helvetica'.freeze
DEFAULT_CLASS_FONT = "Helvetica".freeze
Copy link

Choose a reason for hiding this comment

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

Do not freeze immutable objects, as freezing them has no effect.

@w00lf w00lf changed the title [ WIP ] Nested namespaces, support for include directives Support for include directives Oct 6, 2020
@w00lf w00lf merged commit 2d1a478 into master Oct 8, 2020
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.

None yet

1 participant