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



11
12
13
# File 'lib/reflex/image_view.rb', line 11

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

#on_data_update(e) ⇒ Object



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

def on_data_update(e)
  set_image self.data
end