mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Privatize constants
This constants meant to be private but `private_constant` was missing, this commit makes them fully private by adding `private_constant`.
This commit is contained in:
parent
a31f691ea9
commit
558ccf4a21
1 changed files with 5 additions and 4 deletions
|
@ -56,9 +56,10 @@ module ActionText
|
|||
"#<#{self.class.name} size=#{size.inspect}>"
|
||||
end
|
||||
|
||||
private
|
||||
TAG_NAME = "div"
|
||||
ATTACHMENT_SELECTOR = "#{ActionText::Attachment::SELECTOR}[presentation=gallery]"
|
||||
SELECTOR = "#{TAG_NAME}:has(#{ATTACHMENT_SELECTOR} + #{ATTACHMENT_SELECTOR})"
|
||||
TAG_NAME = "div"
|
||||
ATTACHMENT_SELECTOR = "#{ActionText::Attachment::SELECTOR}[presentation=gallery]"
|
||||
SELECTOR = "#{TAG_NAME}:has(#{ATTACHMENT_SELECTOR} + #{ATTACHMENT_SELECTOR})"
|
||||
|
||||
private_constant :TAG_NAME, :ATTACHMENT_SELECTOR, :SELECTOR
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue