Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

USAGE: push/unshit take splat; barlet file format

  • Loading branch information...
commit 49ddd4d85522335b91b89df18d326a4fcc2d34c9 1 parent b2fe416
@sunaku authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 USAGE
View
8 USAGE
@@ -132,7 +132,7 @@ Move the red, green, and blue clients into the floating area:
------------------------------------------------------------------------------
rgb = %w[red green blue]
terms = curr_view.clients.select {|c| rgb.include? c.label.read }
-curr_view.areas[0].push terms
+curr_view.areas[0].push *terms
------------------------------------------------------------------------------
Slurp all floating clients into the last column:
@@ -155,14 +155,14 @@ Move the red, green, and blue clients to the top of the second column:
[source,ruby]
------------------------------------------------------------------------------
-curr_view.areas[2].unshift terms
+curr_view.areas[2].unshift *terms
------------------------------------------------------------------------------
Move the red, green, and blue clients to the bottom of the third column:
[source,ruby]
------------------------------------------------------------------------------
-curr_view.areas[3].push terms
+curr_view.areas[3].push *terms
------------------------------------------------------------------------------
% close_terms.call
@@ -301,7 +301,7 @@ Color the button black-on-white and label it as "hello world":
[source,ruby]
------------------------------------------------------------------------------
-content = "#000000 #ffffff #000000 hello world"
+content = "colors #000000 #ffffff #000000\nlabel hello world"
b.write content
b.read == content #=> true
------------------------------------------------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.