Hi, I know Widgets are not the most cared things in shoes, but I stumbled in
this thing:

class Shoes::Widgy < Shoes::Widget
  attr_accessor :size

  def initialize opts = {}
    @size = opts[:size] || 100
    fill "#000"
    rect 0, 0, @size, @size
  end
end

I have to call it with

w = widgy :top => 20, :left => 30

if I do w.move(30,30) it moves, so I start expecting it behaves like every
other elements.
but why I cannot do

w.left or w.right ?
obviously w.size works

it's a bug or I'm missing something?

Reply via email to