Skip to content

Commit

Permalink
unify on Block-level rather than block level
Browse files Browse the repository at this point in the history
  • Loading branch information
samaaron committed Sep 2, 2014
1 parent dc969c7 commit 5bce896
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/server/sonicpi/lib/sonicpi/mods/sound.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def with_arg_bpm_scaling(bool, &block)
end
doc name: :with_arg_bpm_scaling,
introduced: Version.new(2,0,0),
summary: "Block level enable and disable BPM scaling",
summary: "Block-level enable and disable BPM scaling",
doc: "Turn synth argument bpm scaling on or off for the supplied block. Note, using rt for args will result in incorrect times when used within this block.",
args: [],
opts: nil,
Expand Down Expand Up @@ -254,7 +254,7 @@ def with_debug(v, &block)
end
doc name: :with_debug,
introduced: Version.new(2,0,0),
summary: "Block level enable and disable debug",
summary: "Block-level enable and disable debug",
doc: "Similar to use_debug except only applies to code within supplied do/end block. Previous debug value is restored after block.",
args: [[:true_or_false, :boolean]],
opts: nil,
Expand Down Expand Up @@ -310,7 +310,7 @@ def with_arg_checks(v, &block)
end
doc name: :with_arg_checks,
introduced: Version.new(2,0,0),
summary: "Block level enable and disable arg checks",
summary: "Block-level enable and disable arg checks",
doc: "Similar to use_arg_checks except only applies to code within supplied do/end block. Previous arg check value is restored after block.",
args: [[:true_or_false, :boolean]],
opts: nil,
Expand Down Expand Up @@ -374,7 +374,7 @@ def with_transpose(shift, &block)
end
doc name: :with_transpose,
introduced: Version.new(2,0,0),
summary: "Block level note transposition",
summary: "Block-level note transposition",
doc: "Similar to use_transpose except only applies to code within supplied do/end block. Previous transpose value is restored after block.",
args: [[:note_shift, :number]],
opts: nil,
Expand Down Expand Up @@ -425,7 +425,7 @@ def with_synth(synth_name, &block)
end
doc name: :with_synth,
introduced: Version.new(2,0,0),
summary: "Block level synth switching",
summary: "Block-level synth switching",
doc: "Switch the current synth to synth_name but only for the duration of the do/end block. After the do/end block has completed, the previous synth is restored.",
args: [[:synth_name, :symbol]],
opts: nil,
Expand Down

0 comments on commit 5bce896

Please sign in to comment.