Module: RubyProperty

Defined in:
lib/ycn/ruby/ruby_property.rb

Instance Method Summary collapse

Instance Method Details

#ruby_propertyObject



2
3
4
5
6
7
8
# File 'lib/ycn/ruby/ruby_property.rb', line 2

def ruby_property
  t = "  @#{@name} ="
  if @default_value
    t += " #{@default_value}"
  end  
  t
end