镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
crystal-dataPublic

About

Atom extension to create docstrings for Crystal methods

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

crocodile

Generate's basic function docstrings for Crystal function definitions.

def flip(t : Tensor | Enumerable, axis : Int) : Tensor
  ...
end

Becomes

# Brief description of flip
#
# Arguments
# ---------
# t : Tensor | Enumerable
#   Brief description of t : Tensor | Enumerable
# axis : Int
#   Brief description of axis : Int
#
# Returns
# -------
# Tensor
#
# Examples
# --------
def flip(t : Tensor | Enumerable, axis : Int) : Tensor
  ...
end

About

Atom extension to create docstrings for Crystal methods

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages