Skip to content

Instantly share code, notes, and snippets.

@AndrewRadev
Created January 5, 2017 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrewRadev/1f6b6579bbece8d50513f07fdd69ca76 to your computer and use it in GitHub Desktop.
Save AndrewRadev/1f6b6579bbece8d50513f07fdd69ca76 to your computer and use it in GitHub Desktop.
class AroundEverything
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
class Nested
def example
some_chain.continued_on.
next_line.method do |one, two|
<<-EOF
Body of method
EOF
end
end
private
def some_private_method(with, arguments,
with_a, hanging_indent)
example = [
"one",
"two",
"three",
"four"
]
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment