Current section

Files

Jump to
ex_cell lib ex_cell ex_cell.ex
Raw

lib/ex_cell/ex_cell.ex

defmodule ExCell do
@moduledoc """
Generic ExCell methods
"""
def module_relative_to(module, relative_to) do
module
|> Module.split
|> Kernel.--(Module.split(relative_to))
end
end