class Tagmv::Options

Attributes

additions[RW]

Public Class Methods

new(opts = {}) click to toggle source
# File lib/tagmv/options.rb, line 4
def initialize(opts = {})
  @additions = opts
end

Public Instance Methods

input() click to toggle source
# File lib/tagmv/options.rb, line 8
def input
  Tagmv::CommandLine.parse || {}
end
load_config() click to toggle source
# File lib/tagmv/options.rb, line 12
def load_config
  Tagmv::Config.new.load
end
options() click to toggle source
# File lib/tagmv/options.rb, line 16
def options
  return if @options

  @options = load_config
  @options.merge(additions)
  @options.merge(input)
end