Skip to content

Commit 16f7787

Browse files
committed
added missed files for previous commit :/
1 parent 60afedd commit 16f7787

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

src/main/resources/handlebars/ruby/model.mustache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ module {{moduleName}}
1515
{{/isEnum}}
1616
{{/model}}
1717
{{/models}}
18+
1819
end

src/main/resources/handlebars/ruby/partial_model_enum_class.mustache

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
class {{classname}}
2-
{{#allowableValues}}{{#enumVars}}
3-
{{{name}}} = {{{value}}}.freeze{{/enumVars}}{{/allowableValues}}
2+
{{#allowableValues}}
3+
{{#enumVars}}
4+
{{{name}}} = {{{value}}}.freeze
5+
{{/enumVars}}
6+
{{/allowableValues}}
47

58
# Builds the enum from string
69
# @param [String] The enum value in the form of the string

src/main/resources/handlebars/ruby/partial_model_generic.mustache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,4 +276,5 @@
276276
end
277277

278278
{{> base_object}}
279+
279280
end

0 commit comments

Comments
 (0)