Class: SafeImage::Config
- Inherits:
-
Data
- Object
- Data
- SafeImage::Config
- Defined in:
- lib/safe_image.rb
Overview
Process-wide configuration. configure! builds a frozen instance and swaps it in with a single assignment, so readers never observe a half-applied config.
Instance Attribute Summary collapse
-
#backend ⇒ Object
readonly
Returns the value of attribute backend.
-
#landlock ⇒ Object
readonly
Returns the value of attribute landlock.
-
#max_pixels ⇒ Object
readonly
Returns the value of attribute max_pixels.
Instance Attribute Details
#backend ⇒ Object (readonly)
Returns the value of attribute backend
31 32 33 |
# File 'lib/safe_image.rb', line 31 def backend @backend end |
#landlock ⇒ Object (readonly)
Returns the value of attribute landlock
31 32 33 |
# File 'lib/safe_image.rb', line 31 def landlock @landlock end |
#max_pixels ⇒ Object (readonly)
Returns the value of attribute max_pixels
31 32 33 |
# File 'lib/safe_image.rb', line 31 def max_pixels @max_pixels end |