Skip to content
Daisuke YAMAGUCHI edited this page Nov 1, 2016 · 12 revisions

要約

Siren::Compound とは、すべての Siren::Shape を内包可能なオブジェクトです。Siren::Shape クラスの派生クラスです。Siren::Shape オブジェクトのグループとして用いることができます。

特異メソッド

new(shape, ...) -> Compound
new([shape, ...], ...) -> Compound

インスタンスメソッド

push(shape) -> Compound
<<(shape) -> Compound

delete(shape) -> Compound

補足

Compound が内包する Shape を取得する

目的に応じ、次のメソッドを利用します。

Clone this wiki locally