This method has no description. You can help the Ruby community by adding new notes.
# File lib/date.rb, line 273
def -@ () self.class.new(-d) end
If you’re trying to calculate 2 to the power of 2, the ^ method is
not what you want. Try ** instead.
2^2 #=> 0
2^8 #=> 10
2**2 #=> 4
2**8 #=> 256
APIdock release: IRON STEVE (1.4)
If you have any comments, ideas or feedback, feel free to contact us at
APIdock copyright Nodeta Oy 2008-2014
Check out how the team behind APIdock connects Pivotal Tracker, GitHub and group chat to one workflow.