module Chaussettes::CommonOptions

options that are common between input and output files

Public Instance Methods

bits(bits) click to toggle source
# File lib/chaussettes/common_options.rb, line 5
def bits(bits)
  @arguments << '--bits' << bits
  self
end
channels(channels) click to toggle source
# File lib/chaussettes/common_options.rb, line 10
def channels(channels)
  @arguments << '--channels' << channels
  self
end
encoding(encoding) click to toggle source
# File lib/chaussettes/common_options.rb, line 15
def encoding(encoding)
  @arguments << '--encoding' << encoding
  self
end
endian(option) click to toggle source
# File lib/chaussettes/common_options.rb, line 30
def endian(option)
  @arguments << '--endian' << option
  self
end
rate(rate) click to toggle source
# File lib/chaussettes/common_options.rb, line 20
def rate(rate)
  @arguments << '--rate' << rate
  self
end
reverse_bits() click to toggle source
# File lib/chaussettes/common_options.rb, line 40
def reverse_bits
  @arguments << '--reverse-bits'
  self
end
reverse_nibbles() click to toggle source
# File lib/chaussettes/common_options.rb, line 35
def reverse_nibbles
  @arguments << '--reverse-nibbles'
  self
end
type(type) click to toggle source
# File lib/chaussettes/common_options.rb, line 25
def type(type)
  @arguments << '--type' << type
  self
end