Class: CooCoo::DataSources::Xournal::PixmapBackground

Inherits:
Object
  • Object
show all
Defined in:
lib/coo-coo/data_sources/xournal/document.rb

Constant Summary collapse

Domains =
[ 'absolute', 'attach', 'clone' ]

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#domainObject

Returns the value of attribute domain.



103
104
105
# File 'lib/coo-coo/data_sources/xournal/document.rb', line 103

def domain
  @domain
end

#filenameObject

Returns the value of attribute filename.



104
105
106
# File 'lib/coo-coo/data_sources/xournal/document.rb', line 104

def filename
  @filename
end