C# Class Chapter12.TheLandOfChocolate.Chocolate

Inheritance: IronRuby.Builtins.RubyObject
Exibir arquivo Open project: casualjim/ironruby-in-action-manuscript

Public Methods

Method Description
Chocolate ( RubyClass cls ) : IronRuby.Builtins

Private Methods

Method Description
Create ( RubyClass self ) : Chocolate
Eat ( Chocolate self ) : void
IsDark ( Chocolate self ) : bool
IsMilk ( Chocolate self ) : bool
IsWhite ( Chocolate self ) : bool

Method Details

Chocolate() public method

public Chocolate ( RubyClass cls ) : IronRuby.Builtins
cls IronRuby.Builtins.RubyClass
return IronRuby.Builtins