This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data = { | |
auth_date: DATE, | |
first_name: "NAME", | |
hash: "HASH", | |
id: ID, | |
last_name: "SURNAME", | |
photo_url: "PHOTO", | |
username: "USERNAME" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ruby | |
принципиальное различие интерпретируемых и компилируемых языков | |
3 принципа ООП | |
реализация множественного наследования в ruby | |
duck typing | |
отличие модуля и класса | |
отличие include/extend | |
области видимости в Ruby | |
Rails | |
что такое MVC и зачем это нужно |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEST STR uid | |
TEST STR uid | |
TEST STR uid | |
TEST STR uid | |
TEST STR uid | |
TEST STR uid | |
TEST STR uid | |
TEST STR uid | |
TEST STR uid | |
TEST STR uid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Cash | |
def pay(amount) | |
self.cash = self.cash + amount | |
end | |
end | |
class Kino | |
include Cash | |
attr_accessor :cash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo | |
def public_method1 | |
end | |
def public_method2 | |
end | |
private def private_method1 | |
end |