Add Model/Repository postfix to all class and file names
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class Game
|
||||
class GameModel
|
||||
attr_reader :title, :platform, :author, :desc,
|
||||
:play_path, :download_path, :source_path, :docs_path,
|
||||
:release_count
|
||||
@@ -1,3 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
Message = Struct.new(:timestamp, :username, :text)
|
||||
3
lib/model/message_model.rb
Normal file
3
lib/model/message_model.rb
Normal file
@@ -0,0 +1,3 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
MessageModel = Struct.new(:timestamp, :username, :text)
|
||||
@@ -1,3 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
WikiPage = Struct.new(:id, :path, :title, :description, :created_at, :locale, keyword_init: true)
|
||||
3
lib/model/wiki_page_model.rb
Normal file
3
lib/model/wiki_page_model.rb
Normal file
@@ -0,0 +1,3 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
WikiPageModel = Struct.new(:id, :path, :title, :description, :created_at, :locale, keyword_init: true)
|
||||
Reference in New Issue
Block a user