Class: HtmlSlicer::ResizingOptions
- Defined in:
- lib/html_slicer/options.rb
Instance Attribute Summary collapse
-
#width ⇒ Object
readonly
Returns the value of attribute width.
Attributes inherited from Options
Instance Method Summary collapse
-
#initialize(options) ⇒ ResizingOptions
constructor
A new instance of ResizingOptions.
Methods inherited from Options
Constructor Details
#initialize(options) ⇒ ResizingOptions
Returns a new instance of ResizingOptions.
69 70 71 72 |
# File 'lib/html_slicer/options.rb', line 69 def initialize() super() @width = [:width].to_i end |
Instance Attribute Details
#width ⇒ Object (readonly)
Returns the value of attribute width.
67 68 69 |
# File 'lib/html_slicer/options.rb', line 67 def width @width end |