Sha256: 724f376118e0c39203e9c94cd6940dbda05f74ad2fae1c8a4ebae8129351fe26

Contents?: true

Size: 615 Bytes

Versions: 5

Compression:

Stored size: 615 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_pretty.rb
ruby-beautify-0.97.3 spec/usage_scenarios/monolithic_example_pretty.rb
ruby-beautify-0.97.2 spec/usage_scenarios/monolithic_example_pretty.rb
ruby-beautify-0.97.1 spec/usage_scenarios/monolithic_example_pretty.rb
ruby-beautify-0.97.0 spec/usage_scenarios/monolithic_example_pretty.rb