Sha256: c9728050af3d68d43f00e852bd56d5906423397711bfa3e8fa4d3eb9fbf8acc9

Contents?: true

Size: 602 Bytes

Versions: 5

Compression:

Stored size: 602 Bytes

Contents

require 'ripper'

h = Here::There.new

h.why?({
here: 'there',
there: 'here'
})

h.with_block {
puts 'yahooie'
}


h.complex_method('asdkjasflkjdglksjglksfgjlfkgjdf',
'alfkjsdlkfjsflgkjfglk',
'alfkjsdlkfjsflgkjfglk',
'alfkjsdlkfjsflgkjfglk'
)

h.complex_method('asdkjasflkjdglksjglksfgjlfkgjdf',
'alfkjsdlkfjsflgkjfglk',
'alfkjsdlkfjsflgkjfglk',
'alfkjsdlkfjsflgkjfglk'
).map do |i|
i
end.map! { |i| i }

if 1 > 0
puts 'something'
elsif 1 < 0
puts 'never!'
else
puts 'not likely.'
end

# Flattened formatting
if 1 > 0 then puts 'something'
else puts 'nothing' end
puts "This line should stay the same"

Version data entries

5 entries across 5 versions & 1 rubygems

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