vendor/gems/ziya-2.1.7/spec/test_helpers/gauge_2_helper.rb
def make_circle( x, y, radius )
    circle = Ziya::Gauges::Support::Circle.new( 
      :x          => x, 
      :y          => y, 
      :radius     => radius, 
      :start      => 0, 
      :end        => 360, 
      :fill_color => "ff0000" )
    circle.to_comp_yaml( :circle_2, 2 )
  end
# creates a red circle start at coords x,y radius r
creates a red circle start at coords x,y radius r
creates a red circle start at coords x y radius r
def make_circle( x, y, radius )
    circle = Ziya::Gauges::Support::Circle.new( 
      :x          => x, 
      :y          => y, 
      :radius     => radius, 
      :start      => 0, 
      :end        => 360, 
      :fill_color => "ff0000" )
    circle.to_comp_yaml( :circle_2, 2 )
  end
def make_circle ( x , y , radius ) circle = Ziya :: Gauges :: Support :: Circle . new ( :x => x , :y => y , :radius => radius , :start => 0 , :end => 360 , :fill_color => "ff0000" ) circle . to_comp_yaml ( :circle_2 , 2 ) end
creates a red circle start at coords x,y radius r
creates a red circle start at coords x y radius r
x
y
radius