Skip to content

Commit

Permalink
Make it uptodate to latest Elixir.
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Apr 2, 2011
1 parent 2522f0f commit bcbd38b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/misultin/websocket.ex
Expand Up @@ -25,8 +25,8 @@ module Chat
end
end
def constructor()
{ 'users: {:} }
def initialize()
@('users: {:})
end

def broadcast(message)
Expand Down
8 changes: 4 additions & 4 deletions lib/ex_bridge.ex
Expand Up @@ -22,17 +22,17 @@ module ExBridge
end

module Websocket
def constructor(socket)
{ 'socket: socket }
def initialize(socket)
@('socket: socket)
end
end

module Request
attr_reader ['docroot]
def constructor(request, options)
def initialize(request, options)
docroot = options['docroot]
{ 'request: request, 'docroot: docroot && docroot.to_bin }
@('request: request, 'docroot: docroot && docroot.to_bin)
end

def serve_file_conditionally(path, function)
Expand Down
1 change: 1 addition & 0 deletions runner.ex
Expand Up @@ -13,6 +13,7 @@ module Runner
end

def process(["test"])
execute "find . -type f -name \"*.exb\" -exec rm -f {} \\;"
execute "time exunit test/*_test.ex test/*/*_test.ex"
end

Expand Down

0 comments on commit bcbd38b

Please sign in to comment.