Sha256: 672040ada17e96b763b44731f3e8f937598668c7e7531b33336b396b576802ca

Contents?: true

Size: 399 Bytes

Versions: 5

Compression:

Stored size: 399 Bytes

Contents

module Here
class There
def why?(argument = nil)
@array = [
1,
2,
3
]
hash = {
one:1,
two:2,
three:3
}
end

# a comment
def why_not?(argument: {})
@array = [4,5,6]
hash = {four:4, five:5, six:6}
s = "a #{"complex"} string."
end

def complex_method(one, two, three, four)
regex = /regex/
end

def with_block
run = Proc.new { |argument| puts arugment }
run do |arugment|
puts argument
end
end
end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-beautify-0.97.4 spec/usage_scenarios/mutli_level.rb
ruby-beautify-0.97.3 spec/usage_scenarios/mutli_level.rb
ruby-beautify-0.97.2 spec/usage_scenarios/mutli_level.rb
ruby-beautify-0.97.1 spec/usage_scenarios/mutli_level.rb
ruby-beautify-0.97.0 spec/usage_scenarios/mutli_level.rb