Class: Reflex::ImageView

Inherits:
Object
  • Object
show all
Defined in:
lib/reflex/image_view.rb

Instance Method Summary collapse

Instance Method Details

#image=(image) ⇒ Object



14
15
16
# File 'lib/reflex/image_view.rb', line 14

def image= (image)
  self.data = image
end

#on_data_update(e) ⇒ Object



18
19
20
# File 'lib/reflex/image_view.rb', line 18

def on_data_update (e)
  set_image self.data
end