Class: Shoes::Image

Inherits:
Basic show all
Defined in:
lib/shoes/basic.rb

Instance Attribute Summary (collapse)

Attributes inherited from Basic

#args, #hided, #initials, #parent, #shows

Attributes included from Mod

#click_proc, #hover_proc, #hovered, #leave_proc, #margin_bottom, #margin_left, #margin_right, #margin_top, #release_proc

Instance Method Summary (collapse)

Methods inherited from Basic

#clear, #fix_size, #hide, #move, #move2, #move3, #positioning, #remove, #show, #style, #toggle

Methods included from Mod

#click, #hover, #leave, #release, #set_margin

Constructor Details

- (Image) initialize(args)

Returns a new instance of Image



142
143
144
145
146
# File 'lib/shoes/basic.rb', line 142

def initialize args
  @path = args[:path]
  args.delete :path
  super args      
end

Instance Attribute Details

- (Object) path

Returns the value of attribute path



148
149
150
# File 'lib/shoes/basic.rb', line 148

def path
  @path
end