mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Spacing
This commit is contained in:
parent
f9ef9486f1
commit
829ae0b2e2
1 changed files with 2 additions and 2 deletions
|
@ -6,11 +6,11 @@ module ActionCable
|
||||||
end
|
end
|
||||||
|
|
||||||
def connection_identifier
|
def connection_identifier
|
||||||
@connection_identifier ||= connection_gid identifiers.map { |id| instance_variable_get("@#{id}")}.compact
|
@connection_identifier ||= connection_gid identifiers.map { |id| instance_variable_get("@#{id}") }.compact
|
||||||
end
|
end
|
||||||
|
|
||||||
def connection_gid(ids)
|
def connection_gid(ids)
|
||||||
ids.map {|o| o.to_global_id.to_s }.sort.join(":")
|
ids.map { |o| o.to_global_id.to_s }.sort.join(":")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue