Class: Wavify::DSL::SongDefinition::Section

Inherits:
Struct
  • Object
show all
Defined in:
lib/wavify/dsl.rb

Overview

Arrangement section metadata (name, bars, active tracks).

Instance Attribute Summary collapse

Instance Attribute Details

#barsObject

Returns the value of attribute bars

Returns:

  • (Object)

    the current value of bars



15
16
17
# File 'lib/wavify/dsl.rb', line 15

def bars
  @bars
end

#beats_per_barObject

Returns the value of attribute beats_per_bar

Returns:

  • (Object)

    the current value of beats_per_bar



15
16
17
# File 'lib/wavify/dsl.rb', line 15

def beats_per_bar
  @beats_per_bar
end

#markersObject

Returns the value of attribute markers

Returns:

  • (Object)

    the current value of markers



15
16
17
# File 'lib/wavify/dsl.rb', line 15

def markers
  @markers
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



15
16
17
# File 'lib/wavify/dsl.rb', line 15

def name
  @name
end

#repeatObject

Returns the value of attribute repeat

Returns:

  • (Object)

    the current value of repeat



15
16
17
# File 'lib/wavify/dsl.rb', line 15

def repeat
  @repeat
end

#tempoObject

Returns the value of attribute tempo

Returns:

  • (Object)

    the current value of tempo



15
16
17
# File 'lib/wavify/dsl.rb', line 15

def tempo
  @tempo
end

#tracksObject

Returns the value of attribute tracks

Returns:

  • (Object)

    the current value of tracks



15
16
17
# File 'lib/wavify/dsl.rb', line 15

def tracks
  @tracks
end