mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 18:18:13 +08:00
DEV: Apply syntax_tree formatting to lib/*
This commit is contained in:
@ -1,25 +1,24 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'faker'
|
||||
require "faker"
|
||||
|
||||
module Faker
|
||||
class Discourse < Base
|
||||
class << self
|
||||
|
||||
def tag
|
||||
fetch('discourse.tags')
|
||||
fetch("discourse.tags")
|
||||
end
|
||||
|
||||
def category
|
||||
fetch('discourse.categories')
|
||||
fetch("discourse.categories")
|
||||
end
|
||||
|
||||
def group
|
||||
fetch('discourse.groups')
|
||||
fetch("discourse.groups")
|
||||
end
|
||||
|
||||
def topic
|
||||
fetch('discourse.topics')
|
||||
fetch("discourse.topics")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user