class EncoderTools::Strategies::Base

Attributes

input_path[R]
title[R]

Public Class Methods

new(input_path) click to toggle source
# File lib/encoder-tools/strategies/base.rb, line 6
def initialize(input_path)
  @input_path = input_path
end

Public Instance Methods

title=(title) click to toggle source
# File lib/encoder-tools/strategies/base.rb, line 10
def title=(title)
  case title
  when Options::Title, nil
    @title = title
  when Fixnum
    @title = Options::Title.new(title)
  else
    raise ArgumentError, "expected an #{Options::Title} or #{Fixnum}, got #{title.inspect}"
  end
end