class AudioFeedManager::Arguments

Attributes

arguments[R]

Public Class Methods

blank() click to toggle source
# File lib/audio_feed_manager/cli/arguments.rb, line 3
def self.blank
  new
end
from_hash(hash) click to toggle source
# File lib/audio_feed_manager/cli/arguments.rb, line 7
def self.from_hash(hash)
  new(hash)
end
new(arguments = {}) click to toggle source
# File lib/audio_feed_manager/cli/arguments.rb, line 11
def initialize(arguments = {})
  @arguments = arguments
end

Public Instance Methods

add_argument(name, value) click to toggle source
# File lib/audio_feed_manager/cli/arguments.rb, line 15
def add_argument(name, value)
  arguments[name] = value
end
to_hash() click to toggle source
# File lib/audio_feed_manager/cli/arguments.rb, line 19
def to_hash
  arguments
end