Class: Objcthin::Command

Inherits:
Thor
  • Object
show all
Defined in:
lib/objcthin.rb

Instance Method Summary collapse

Instance Method Details

#findclass(path) ⇒ Object



17
18
19
# File 'lib/objcthin.rb', line 17

def findclass(path)
  Imp::UnusedClass.instance.find_unused_class(path, options[:prefix])
end

#findsel(path) ⇒ Object



11
12
13
# File 'lib/objcthin.rb', line 11

def findsel(path)
  Imp::UnusedSel.instance.find_unused_sel(path, options[:prefix])
end

#versionObject



22
23
24
# File 'lib/objcthin.rb', line 22

def version
  puts Rainbow(Objcthin::VERSION).green
end