mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
12 lines
135 B
Text
12 lines
135 B
Text
|
> Example:
|
||
|
>
|
||
|
> sub status {
|
||
|
> print "working";
|
||
|
> }
|
||
|
>
|
||
|
> Or:
|
||
|
>
|
||
|
> sub status {
|
||
|
> return "working";
|
||
|
> }
|