11. why does the syntax change?


#1

https://www.codecademy.com/en/courses/learn-ruby/lessons/object-oriented-programming-ii/exercises/a-few-requirements

I am curious as to why in section 10 I defined date as @date@
but here I have to define Math as Math


#2

I’ve added a link to question 10 of the OOP II module, but see no reference to what you ask. What lesson are you actually on?

Please post a link to the exercise. Thanks.


#3

Hi,
I think i’m not making my point clear. in section 10 the syntax for requiring date is to put it in lower case with single quotes but in section 11 the math module is included using its name capitalised without quotes. I was wondering why it changes.


#4

You still have us at a disadvantage. Which lesson, exactly are you on? Please post a link, else don’t expect an answer.


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.