Class: Orphic::OrphicCli::Type

Inherits:
Thor
  • Object
show all
Defined in:
lib/orphic/cli/type.rb

Instance Method Summary collapse

Instance Method Details

#createMedia(createMedia) ⇒ Object



34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# 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) ⇒ Object



10
11
12
13
14
15
# 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