Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add meta_programming's markup #19

Closed
wants to merge 1 commit into from

Conversation

denver411
Copy link

Пробная верстка раздела meta programming

@khusnetdinov khusnetdinov self-requested a review June 26, 2018 17:07
@khusnetdinov khusnetdinov added this to the 1 - Pages milestone Jun 26, 2018
Copy link
Owner

@khusnetdinov khusnetdinov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Надо поработать пробелами и пробельными строками. Указал ниже

<div class="code-block">
<p class="spec-title spec-correct">Meta</p>
{% highlight ruby %}

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Проверь тут пробелы блоков в начале и после, не уверен что они есть в Gotcha

define_method :bar do
puts 'This is a dynamic method'
end
end
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

После строку пустую, не надо лепить код. Места много

create_method :foo
create_method :bar
create_method :baz
end
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

После пробел

create_method :baz
end
Bar.new.my_foo
# => "Dynamic method called 'my_foo'"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Вот тут надо пробелами разделть код и коментарий, который относится к блоку. И ниже все

# Parse another class for data
class AnotherClass
def get_foo_stuff; end

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Давай пусты методы тоже без пробельных строк как хуки

puts "Dynamic method called 'my_#{method}'"
end
end
end
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

строка после класса и везде ниже

@khusnetdinov
Copy link
Owner

@denver411 Денис, ветка твои должна называться #{Номер задачи}_#{Название задачи} Передалай

@khusnetdinov
Copy link
Owner

#25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants