Class: Dieses::Application::Paper::Dim
- Inherits:
-
Struct
- Object
- Struct
- Dieses::Application::Paper::Dim
- Defined in:
- lib/dieses/application/paper.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.call(width, height) ⇒ Object
9 10 11 |
# File 'lib/dieses/application/paper.rb', line 9 def self.call(width, height) new width: width, height: height end |
Instance Method Details
#long ⇒ Object
17 18 19 |
# File 'lib/dieses/application/paper.rb', line 17 def long values.max end |
#short ⇒ Object
13 14 15 |
# File 'lib/dieses/application/paper.rb', line 13 def short values.min end |