class String
String
additions
Public Instance Methods
text?()
click to toggle source
# File lib/bunch/url_generator.rb, line 8 def text? res = `file "#{self}"` res =~ /text/ end
String
additions
# File lib/bunch/url_generator.rb, line 8 def text? res = `file "#{self}"` res =~ /text/ end