Class: VivlioStarter::CLI::Build::DerivedImage::Derivative
- Inherits:
-
Data
- Object
- Data
- VivlioStarter::CLI::Build::DerivedImage::Derivative
- Defined in:
- lib/vivlio_starter/cli/build/derived_image.rb
Overview
派生 1 件。width / height は素材の画素数で、縮小しても表示サイズが動かない よう HTML の属性として書き出すために持ち歩く(§3.6 の「懸念は実測で否定された」)。
Instance Attribute Summary collapse
-
#height ⇒ Object
readonly
Returns the value of attribute height.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#width ⇒ Object
readonly
Returns the value of attribute width.
Instance Attribute Details
#height ⇒ Object (readonly)
Returns the value of attribute height
75 76 77 |
# File 'lib/vivlio_starter/cli/build/derived_image.rb', line 75 def height @height end |
#path ⇒ Object (readonly)
Returns the value of attribute path
75 76 77 |
# File 'lib/vivlio_starter/cli/build/derived_image.rb', line 75 def path @path end |
#width ⇒ Object (readonly)
Returns the value of attribute width
75 76 77 |
# File 'lib/vivlio_starter/cli/build/derived_image.rb', line 75 def width @width end |