class Orphic::OrphicCli::Type

Public Instance Methods

createMedia( createMedia ) click to toggle source
# File lib/orphic/cli/type.rb, line 34
def createMedia ( createMedia )
  puts "MP3 file created" if options[:mp3]
  puts "MP4 file created" if options[:mp4]
  puts "FLAC file created" if options[:flac]
  puts "EXE file created" if options[:exe]
  puts "APP file created" if options[:app]
  puts "WAV file created" if options[:wav]
  puts "MKV file created" if options[:mkv]
  puts "BIN file created" if options[:bin]
  puts "JAR file created" if options[:jar]
  puts "RB file created" if options[:rb]
  puts "JS file created" if options[:js]
  puts "TS file created" if options[:ts]
  puts "HTML file created" if options[:html]
  puts "CSS file created" if options[:css]
  # implement createDistrict
  CLI::UI::Frame.open( "Map :: Media : Create " + createMedia ) do
    puts "#{createMedia}"
  end
end
type( viewType ) click to toggle source
# File lib/orphic/cli/type.rb, line 10
def type( viewType )
  # implement viewType
  CLI::UI::Frame.open( "Media :: Type : " + viewType ) do
    puts "#{viewType}"
  end
end