Module: DTAS

Extended by:
Encoding
Defined in:
lib/dtas.rb

Overview

DTAS currently exposes no public API for Ruby programmers. See 80x24.org/dtas.git/about/ for more info.

Defined Under Namespace

Modules: Command, EditClient, Encoding, ParseFreq, ParseTime, Pipeline, Process, Serialize, Source, SpawnFix, Util, WritableIter, XS Classes: Buffer, CueIndex, FadeFX, Format, Mcache, Mlib, Nonblock, PartStats, Pipe, PipeNB, Player, RGState, ReplayGain, Sigevent, Sink, SplitFX, StateFile, TFX, Track, Tracklist, UNIXAccepted, UNIXClient, UNIXServer

Constant Summary collapse

VERSION =

:nodoc:

'0.17.0'.freeze

Class Method Summary collapse

Methods included from Encoding

extended, try_enc

Class Method Details

.dedupe_str(str) ⇒ Object

Ruby 2.1 - 2.4, noop for older Rubies



36
37
38
# File 'lib/dtas.rb', line 36

def self.dedupe_str(str)
  -str
end

.nullObject

:nodoc:



24
25
26
# File 'lib/dtas.rb', line 24

def self.null # :nodoc:
  @null ||= File.open('/dev/null', 'r+')
end