Class: CooCoo::DataSources::Xournal::PixmapBackground
- Defined in:
- lib/coo-coo/data_sources/xournal/document.rb
Constant Summary collapse
- Domains =
[ 'absolute', 'attach', 'clone' ]
Instance Attribute Summary collapse
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#filename ⇒ Object
Returns the value of attribute filename.
Instance Method Summary collapse
-
#initialize(filename, domain = 'attach') ⇒ PixmapBackground
constructor
A new instance of PixmapBackground.
Constructor Details
#initialize(filename, domain = 'attach') ⇒ PixmapBackground
Returns a new instance of PixmapBackground.
108 109 110 111 |
# File 'lib/coo-coo/data_sources/xournal/document.rb', line 108 def initialize(filename, domain = 'attach') self.filename = filename self.domain = domain end |
Instance Attribute Details
#domain ⇒ Object
Returns the value of attribute domain.
103 104 105 |
# File 'lib/coo-coo/data_sources/xournal/document.rb', line 103 def domain @domain end |
#filename ⇒ Object
Returns the value of attribute filename.
104 105 106 |
# File 'lib/coo-coo/data_sources/xournal/document.rb', line 104 def filename @filename end |