Skip to content

Commit

Permalink
move slides
Browse files Browse the repository at this point in the history
  • Loading branch information
szabgab committed Jun 30, 2021
1 parent 7750653 commit b24c0da
Show file tree
Hide file tree
Showing 14 changed files with 37 additions and 35 deletions.
31 changes: 31 additions & 0 deletions crystal/directories.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,34 @@
{id: tempdir}

![](examples/filesystem/tempdir_function.cr)

## Join / concatenate file system path
{id: join-file-system-path}
{i: Path}

* [Path](https://crystal-lang.org/api/Path.html)

![](examples/filesystem/path.cr)

## Join / concatenate file system path
{id: concatenate-file-system-path}
{i: Path}
{i: /}

![](examples/filesystem/concatenate_path.cr)

## Path from string
{id: path}

![](examples/filesystem/path_from_string.cr)


## Expand Path
{id: expand-path}
{i: expand}
{i: ~}

![](examples/filesystem/path_expand.cr)
![](examples/filesystem/path_expand.out)


File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions crystal/exceptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
{i: begin}
{i: rescue}

![](examples/catch_exception.cr)
![](examples/exceptions/catch_exception.cr)

## Raise exception
{id: raise-exception}

![](examples/raise_exception.cr)
![](examples/exceptions/raise_exception.cr)

37 changes: 4 additions & 33 deletions crystal/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,35 +78,6 @@ shards install

![](examples/parse_url.cr)

## Join / concatenate file system path
{id: join-file-system-path}
{i: Path}

* [Path](https://crystal-lang.org/api/Path.html)

![](examples/path.cr)

## Join / concatenate file system path
{id: concatenate-file-system-path}
{i: Path}
{i: /}

![](examples/concatenate_path.cr)

## Path from string
{id: path}

![](examples/path_from_string.cr)


## Expand Path
{id: expand-path}
{i: expand}
{i: ~}

![](examples/path_expand.cr)
![](examples/path_expand.out)


## Ternary operator and or to set default value
{id: default-value}
Expand Down Expand Up @@ -147,13 +118,13 @@ shards install
{id: suffix-if}
{i: if}

![](examples/suffix_if.cr)
![](examples/other/suffix_if.cr)

## Suffix unless
{id: suffix-unless}
{i: unless}

![](examples/suffix_unless.cr)
![](examples/other/suffix_unless.cr)

## Return Boolean
{id: return-boolean}
Expand All @@ -163,7 +134,7 @@ shards install
## Symbols
{id: symbols}

![](examples/symbols.cr)
![](examples/other/symbols.cr)

## Macros
{id: macros}
Expand Down Expand Up @@ -223,7 +194,7 @@ require "some_name" # Find it somewhere (standard library, src directory
## Int methods: Times
{id: times}

![](examples/times.cr)
![](examples/other/times.cr)

## case of types
{id: case-of-types}
Expand Down

0 comments on commit b24c0da

Please sign in to comment.