Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/ray/rect.rb
Instance Method Summary collapse
-
#to_rect ⇒ Ray::Rect
Converts a hash into a rect.
Instance Method Details
#to_rect ⇒ Ray::Rect
Returns Converts a hash into a rect.
113 114 115 |
# File 'lib/ray/rect.rb', line 113 def to_rect Ray::Rect.new(self) end |