lib/scide/commands/show.rb in scide-0.0.6 vs lib/scide/commands/show.rb in scide-0.0.7
- old
+ new
@@ -15,15 +15,11 @@
#
# # will produce the following command in window1:
# ssh 127.0.0.1
class Show < Scide::Command
- def initialize contents, options = {}
- super contents, options
- end
-
- # Returns a configuration fragment that will put
- # this command GNU \Screen window without running it.
+ # Returns a configuration fragment that will show
+ # this command in a GNU \Screen window without running it.
# This will use screen's <tt>stuff</tt> command to
# put the text in the window.
def to_screen
%|stuff "#{text_with_options}"|
end