This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Introduction to Twitter's API Forum

View Course » View Exercise

306 points
Picture
Submitted by
Mohit Deshpande
over 3 years ago

What does :: mean??

whats does the :: mean in Ruby.
eg:- consumer_key ||= OAuth::Consumer.new


0 votes

permalink

It's the Scope-Operator , it is for calling an object without including it.

1323 points
98da0ca24097ec01e15fb7389b53ff6c?s=140&d=retro
Submitted by
Marvin
over 3 years ago