Class: SparkleFormation::Composition::Component

Inherits:
Struct
  • Object
show all
Defined in:
lib/sparkle_formation/composition.rb

Overview

Component item of composition

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



8
9
10
# File 'lib/sparkle_formation/composition.rb', line 8

def block
  @block
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



8
9
10
# File 'lib/sparkle_formation/composition.rb', line 8

def key
  @key
end

#originObject

Returns the value of attribute origin

Returns:

  • (Object)

    the current value of origin



8
9
10
# File 'lib/sparkle_formation/composition.rb', line 8

def origin
  @origin
end