Skip to content

Commit

Permalink
fix nested module
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Apr 18, 2024
1 parent a2cd109 commit bb6e2b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clear/extensions/enum/migration.cr
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module Clear::Migration
end
end

module Clear::Migration::Helper
module Helper
def create_enum(name, arr : Enumerable(T)) forall T
self.add_operation(CreateEnum.new(name.to_s, arr.map(&.to_s)))
end
Expand Down

0 comments on commit bb6e2b5

Please sign in to comment.