Class: Uistiti::Alpha::Image
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Uistiti::Alpha::Image
- Defined in:
- app/components/uistiti/alpha/image.rb
Instance Method Summary collapse
-
#initialize(source:, size:) ⇒ Image
constructor
A new instance of Image.
Constructor Details
#initialize(source:, size:) ⇒ Image
Returns a new instance of Image.
6 7 8 9 10 11 |
# File 'app/components/uistiti/alpha/image.rb', line 6 def initialize(source:, size:) super() @source = source @size = size end |