Class: Inlay::Config
- Inherits:
-
Object
- Object
- Inlay::Config
- Defined in:
- lib/inlay/config.rb,
sig/inlay.rbs
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
Returns the value of attribute enabled.
-
#max_pixels ⇒ Integer
Returns the value of attribute max_pixels.
-
#max_rows ⇒ Integer
Returns the value of attribute max_rows.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
8 9 10 11 12 |
# File 'lib/inlay/config.rb', line 8 def initialize @enabled = true @max_rows = 24 @max_pixels = 1_048_576 end |
Instance Attribute Details
#enabled ⇒ Boolean
Returns the value of attribute enabled.
5 6 7 |
# File 'lib/inlay/config.rb', line 5 def enabled @enabled end |
#max_pixels ⇒ Integer
Returns the value of attribute max_pixels.
6 7 8 |
# File 'lib/inlay/config.rb', line 6 def max_pixels @max_pixels end |
#max_rows ⇒ Integer
Returns the value of attribute max_rows.
6 7 8 |
# File 'lib/inlay/config.rb', line 6 def max_rows @max_rows end |