mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
17 lines
176 B
Ruby
17 lines
176 B
Ruby
|
|
||
|
#Class comment
|
||
|
class SomeClass
|
||
|
|
||
|
# Method comment
|
||
|
def some_method
|
||
|
|
||
|
# Inline method comment
|
||
|
actual_code = true
|
||
|
|
||
|
end
|
||
|
|
||
|
end
|
||
|
|
||
|
# Trailing comment and extra blank line
|
||
|
|