Operator and Looping Structures in ROR
Dear friends
What are the operators, environment variables and looping structures available in Ruby On Rails?
Thanks
Dear friends
What are the operators, environment variables and looping structures available in Ruby On Rails?
Thanks
Operators in ROR
There are many types operators available in ROR (Ruby on Rails). They are take a part as-
Arithmetic operators
Comparison operators
Assignment operators
Ruby parallel assignment
Bitwise operator
Ruby logical operators
Ternary Operator
Range operators
Ruby defined operators
dot "." and double Colon "::" Operators
Ruby environment variables
There are three default variables environment in Ruby on Rails (ROR). They are-
   development
   test
   production
Here each environment has contains a corresponding environment life. You can choose any of the variables of environment within your perposes.
Looping structures/Control structures.
Here are the loping structures of Ruby on Rails are listed-
if,
else,
case,
unless.
Learn more about Ruby on rails here-Â Â https://en.wikipedia.org/wiki/Ruby_on_Rails and guides.rubyonrails.org/getting_started.html
Â