Class: Simpledesktops::Wallpaper

Inherits:
Object
  • Object
show all
Defined in:
lib/simpledesktops/wallpaper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url) ⇒ Wallpaper

Returns a new instance of Wallpaper.



6
7
8
# File 'lib/simpledesktops/wallpaper.rb', line 6

def initialize url
  @url = url
end

Instance Attribute Details

#urlObject (readonly)

Returns the value of attribute url.



4
5
6
# File 'lib/simpledesktops/wallpaper.rb', line 4

def url
  @url
end