Class: Regexp

Inherits:
Object show all
Defined in:
lib/uttk/streams.rb,
lib/uttk/streams/Diff.rb

Instance Method Summary collapse

Instance Method Details

#can_diff?Boolean

Returns:

  • (Boolean)


43
44
45
# File 'lib/uttk/streams/Diff.rb', line 43

def can_diff?
  false
end

#compare_stream(stream) ⇒ Object



39
40
41
# File 'lib/uttk/streams.rb', line 39

def compare_stream ( stream )
  stream.read =~ self
end