Skip to content

Commit

Permalink
workaround for github
Browse files Browse the repository at this point in the history
  • Loading branch information
psychs committed Oct 28, 2009
1 parent a246eb3 commit dcce216
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def on_user(param)
@lingr.error_hooks << lambda do |sender, error|
begin
log { "received error from Lingr: #{error.inspect}" }
send(%Q|ERROR :Closing Link: #{@user}!#{@user}@lingr.com ("#{error.inspect}")|)
send(%Q[ERROR :Closing Link: #{@user}!#{@user}@lingr.com ("#{error.inspect}")])
terminate
rescue => e
log_error { "gateway exception in error event: #{e.inspect}" }
Expand Down Expand Up @@ -178,7 +178,7 @@ def on_whois(param)
end

def on_quit
send(%Q|ERROR :Closing Link: #{@user}!#{@user}@lingr.com ("Client quit")|)
send(%Q[ERROR :Closing Link: #{@user}!#{@user}@lingr.com ("Client quit")])
terminate
end

Expand Down
8 changes: 4 additions & 4 deletions lingr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def initialize(res)
end

def inspect
%Q|<#{self.class} #{username} #{name}>|
%Q[<#{self.class} #{username} #{name}>]
end
end

Expand Down Expand Up @@ -64,7 +64,7 @@ def add_member(member)
end

def inspect
%Q|<#{self.class} #{id}>|
%Q[<#{self.class} #{id}>]
end
end

Expand All @@ -88,7 +88,7 @@ def decide_mine(my_public_session_id)
end

def inspect
%Q|<#{self.class} #{speaker_id}: #{text}>|
%Q[<#{self.class} #{speaker_id}: #{text}>]
end
end

Expand All @@ -102,7 +102,7 @@ def initialize(res)
end

def inspect
%Q|<#{self.class} code="#{@code}", detail="#{@detail}">|
%Q[<#{self.class} code="#{@code}", detail="#{@detail}">]
end
end

Expand Down

0 comments on commit dcce216

Please sign in to comment.