Class: Avm::Entries::KeysConstantsSet

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/entries/keys_constants_set.rb

Instance Method Summary collapse

Instance Method Details

#resultArray<String>

Returns:

  • (Array<String>)


11
12
13
14
15
16
17
18
19
# File 'lib/avm/entries/keys_constants_set.rb', line 11

def result
  if suffixes.is_a?(::Hash)
    keys_consts_set_from_hash
  elsif suffixes.is_a?(::Enumerable)
    keys_consts_set_from_enum
  else
    raise "Unmapped suffixes class: #{suffixes.class}"
  end
end