This is one of the "work in certain ways" question.
Since the rail, a purely object-oriented language, the controller code, the model code, the assistant code, the migration code are wrapped inside the classes. But the code does not look.
So I was wondering: How does the train know what the visual code is? How does it work internally?
All Ruby files run inside a class:
Self.class.name and you will see that your code will wrap in a object class when it is executed.
No comments:
Post a Comment