Class: Simpledesktops::Wallpaper
- Inherits:
-
Object
- Object
- Simpledesktops::Wallpaper
- Defined in:
- lib/simpledesktops/wallpaper.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url) ⇒ Wallpaper
constructor
A new instance of Wallpaper.
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
#url ⇒ Object (readonly)
Returns the value of attribute url.
4 5 6 |
# File 'lib/simpledesktops/wallpaper.rb', line 4 def url @url end |