Class: Uistiti::Alpha::Image

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/uistiti/alpha/image.rb

Instance Method Summary collapse

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