Sha256: fe199e9b6a5e732a9a1adce399363205523ecde4ab56ae92c1558f66d91ec248

Contents?: true

Size: 81 Bytes

Versions: 30

Compression:

Stored size: 81 Bytes

Contents

def line_ending_type(s)
  if s =~ /\r\n/
    :windows
  else
    :unix
  end
end

Version data entries

30 entries across 30 versions & 2 rubygems

Version Path
ftpd-1.1.1 features/step_definitions/line_endings.rb
ftpd-1.1.0 features/step_definitions/line_endings.rb
investtools-ftpd-1.0.1 features/step_definitions/line_endings.rb
ftpd-1.0.1 features/step_definitions/line_endings.rb
ftpd-1.0.0 features/step_definitions/line_endings.rb
ftpd-0.17.0 features/step_definitions/line_endings.rb
ftpd-0.16.0 features/step_definitions/line_endings.rb
ftpd-0.15.0 features/step_definitions/line_endings.rb
ftpd-0.14.0 features/step_definitions/line_endings.rb
ftpd-0.13.0 features/step_definitions/line_endings.rb
ftpd-0.12.0 features/step_definitions/line_endings.rb
ftpd-0.11.0 features/step_definitions/line_endings.rb
ftpd-0.10.0 features/step_definitions/line_endings.rb
ftpd-0.9.0 features/step_definitions/line_endings.rb
ftpd-0.7.1 features/step_definitions/line_endings.rb
ftpd-0.8.0 features/step_definitions/line_endings.rb
ftpd-0.7.0 features/step_definitions/line_endings.rb
ftpd-0.6.0 features/step_definitions/line_endings.rb
ftpd-0.5.0 features/step_definitions/line_endings.rb
ftpd-0.4.0 features/step_definitions/line_endings.rb