class EncoderTools::Options::Title

Constants

LONGEST

Attributes

number[RW]

Public Class Methods

new(number) click to toggle source
# File lib/encoder-tools/options/title.rb, line 8
def initialize(number)
  @number = number
end

Public Instance Methods

==(other) click to toggle source
# File lib/encoder-tools/options/title.rb, line 12
def ==(other)
  other.is_a?(self.class) && other.number == self.number
end
to_args() click to toggle source
# File lib/encoder-tools/options/title.rb, line 16
def to_args
  ['--title', number.to_s]
end