class Globs

Attributes

cli_args[R]
ruby_identifier[RW]

Public Class Methods

new(args) click to toggle source
# File lib/pry-globs/globs.rb, line 15
def initialize(args)
  @cli_args = CLIArg.new(args)
  @ruby_identifier = RubyIdentifier.new(cli_args, IdentifierTable.new)
end

Public Instance Methods

identifier_description() click to toggle source
# File lib/pry-globs/globs.rb, line 20
def identifier_description
  return cli_args.invalid_msg       if cli_args.invalid?
  return ruby_identifier.absent_msg if ruby_identifier.absent_from_table?

  ruby_identifier.description
end