class Desktop::Image
Attributes
path[R]
Public Class Methods
new(path)
click to toggle source
# File lib/desktop/image.rb, line 5 def initialize(path) @path = path end
Public Instance Methods
data()
click to toggle source
# File lib/desktop/image.rb, line 13 def data raise NotImplementedError end
filename()
click to toggle source
# File lib/desktop/image.rb, line 9 def filename File.basename path end