Class: Siren::Compound

Inherits:
Object
  • Object
show all
Defined in:
lib/shape/compound.rb

Overview

Compound クラス拡張メソッド

Instance Method Summary collapse

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/shape/compound.rb', line 6

def empty?
  self.subshapes.size == 0
end