class KaleidoscopeCommand
Attributes
after_path[RW]
before_path[RW]
fails[RW]
Public Class Methods
command_from_line(line)
click to toggle source
# File lib/second_curtain/kaleidoscope_command.rb, line 6 def self.command_from_line(line) components = line.split("\"") if components.count >= 4 KaleidoscopeCommand.new(components[1], components[3]) end end
new(before_path, after_path)
click to toggle source
# File lib/second_curtain/kaleidoscope_command.rb, line 13 def initialize(before_path, after_path) @before_path = before_path @after_path = after_path end