class Logcli::Params::Json

Constants

FILENAMES
OPTS

Public Class Methods

new(opts) click to toggle source
# File lib/logcli/params/json.rb, line 8
def initialize opts
  OPTS.each do |opt|
    val = opts.fetch opt, nil
    instance_variable_set "@#{opt}", val
  end
end

Public Instance Methods

parse_params() click to toggle source
# File lib/logcli/params/json.rb, line 15
def parse_params
  { filenames: filenames }
end