module TRecs::ShellCommandStrategy
Attributes
command[R]
Public Instance Methods
current_content(str)
click to toggle source
Calls superclass method
# File lib/trecs/strategies/shell_command_strategy.rb, line 5 def current_content(str) if self.command comm = command.gsub(/<frame>/, "\"#{str}\"") str = IO.popen(comm).read end super(str) end