Class: Orphic::OrphicCli::District

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

Instance Method Summary collapse

Instance Method Details

#createDistrict(createDistrict) ⇒ Object



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# File 'lib/orphic/cli/district.rb', line 45

def createDistrict ( createDistrict )
  # implement createDistrict
  CLI::UI::Frame.open( "Map :: District : Create " + createDistrict ) do
    puts "Awake District info" if options[:awake]
    puts "Grow District info" if options[:grow]
    puts "Discover District info" if options[:discover]
    puts "Trust District info" if options[:trust]
    puts "Truth District info" if options[:truth]
    puts "Magic District info" if options[:magic]
    puts "Poetry District info" if options[:poetry]
    puts "Drive District info" if options[:drive]
    puts "Will District info" if options[:will]
    puts "Loyal District info" if options[:loyal]
    puts "Enthuse District infor" if options[:enthuse]
    puts ":clarity district info" if options[:clarity]
  end
end

#district(viewDistrict) ⇒ Object



10
11
12
13
14
15
# File 'lib/orphic/cli/district.rb', line 10

def district( viewDistrict )
  # implement viewDistrict
  CLI::UI::Frame.open( "Map :: District : " + viewDistrict ) do
    puts "#{viewDistrict}"
  end
end