Class: Desktop::LocalImage

Inherits:
Image
  • Object
show all
Defined in:
lib/desktop/local_image.rb

Instance Attribute Summary

Attributes inherited from Image

#path

Instance Method Summary collapse

Methods inherited from Image

#filename, #initialize

Constructor Details

This class inherits a constructor from Desktop::Image

Instance Method Details

#dataObject



5
6
7
# File 'lib/desktop/local_image.rb', line 5

def data
  File.read path
end