Skip to content

Instantly share code, notes, and snippets.

@hiyosi
Created September 24, 2011 06:59
Show Gist options
  • Save hiyosi/1239062 to your computer and use it in GitHub Desktop.
Save hiyosi/1239062 to your computer and use it in GitHub Desktop.
関数名を整理(after)
get_elem(all, Table) ->
gen_server:call(?MODULE, {all, Table});
get_elem(id, Table) ->
gen_server:call(?MODULE, {id, Table});
get_elem(uri, Id) ->
gen_server:call(?MODULE, {uri, Id});
get_elem(condition, Id) ->
gen_server:call(?MODULE, {condition, Id});
get_elem(system, Id) ->
gen_server:call(?MODULE, {system, Id}).
get_elem(status, Id, Start, End) ->
gen_server:call(?MODULE, {status, Id, Start, End}).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment