Class: Shoes::ImagePattern

Inherits:
Object
  • Object
show all
Includes:
Common::Inspect
Defined in:
shoes-core/lib/shoes/image_pattern.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Common::Inspect

#inspect, #to_s

Constructor Details

#initialize(path) ⇒ ImagePattern

Returns a new instance of ImagePattern.



7
8
9
10
# File 'shoes-core/lib/shoes/image_pattern.rb', line 7

def initialize(path)
  @path = path
  @gui = Shoes.backend_for(self)
end

Instance Attribute Details

#guiObject (readonly)

Returns the value of attribute gui.



12
13
14
# File 'shoes-core/lib/shoes/image_pattern.rb', line 12

def gui
  @gui
end

#pathObject (readonly)

Returns the value of attribute path.



12
13
14
# File 'shoes-core/lib/shoes/image_pattern.rb', line 12

def path
  @path
end