Class: Shoes::ImagePattern
- Inherits:
-
Object
- Object
- Shoes::ImagePattern
- Includes:
- Common::Inspect
- Defined in:
- shoes-core/lib/shoes/image_pattern.rb
Instance Attribute Summary collapse
-
#gui ⇒ Object
readonly
Returns the value of attribute gui.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ ImagePattern
constructor
A new instance of ImagePattern.
Methods included from Common::Inspect
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
#gui ⇒ Object (readonly)
Returns the value of attribute gui.
12 13 14 |
# File 'shoes-core/lib/shoes/image_pattern.rb', line 12 def gui @gui end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
12 13 14 |
# File 'shoes-core/lib/shoes/image_pattern.rb', line 12 def path @path end |