Class: Coltrane::Commands::AvailableRepresentations

Inherits:
Command
  • Object
show all
Defined in:
lib/coltrane/commands/available_representations.rb

Instance Attribute Summary

Attributes inherited from Command

#error

Instance Method Summary collapse

Methods inherited from Command

run

Instance Method Details

#runObject



4
5
6
# File 'lib/coltrane/commands/available_representations.rb', line 4

def run
  ['Text'] + Representation.constants.map(&:to_s)
end