∴ state (anything)
Field state
⨌ make_coffee / 1 (signature) Signature inference is ambiguous, choose stricter type
Head of make_coffee/1
defmodule CoffeeShop.CoffeeMachine do
@moduledoc "Кофемашина, которая готовит кофе"
@type t() :: %__MODULE__{state: any}
defstruct state: nil
@doc "Head of make_coffee/1"
@spec make_coffee(any) :: any
def make_coffee(drink) do
end
end
defmodule CoffeeShop.CoffeeMachineTest do
use ExUnit.Case, async: true
describe("make_coffee / 1") do
test "fun make_coffee" do
end
end
end