Module: Rszr::Orientation
- Included in:
- Image
- Defined in:
- lib/rszr/orientation.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- ROTATIONS =
{ 5 => 1, 6 => 1, 3 => 2, 4 => 2, 7 => 3, 8 => 3 }
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 8 |
# File 'lib/rszr/orientation.rb', line 5 def self.included(base) base.extend(ClassMethods) base.attr_reader :original_orientation end |