Class: PhotoUtils::Tool

Inherits:
Object
  • Object
show all
Defined in:
lib/photo_utils/tool.rb

Instance Method Summary collapse

Constructor Details

#initializeTool

Returns a new instance of Tool.



5
6
# File 'lib/photo_utils/tool.rb', line 5

def initialize
end

Instance Method Details

#descriptionObject



16
17
# File 'lib/photo_utils/tool.rb', line 16

def description
end

#nameObject



8
9
10
# File 'lib/photo_utils/tool.rb', line 8

def name
  self.class.to_s.downcase
end

#runObject



19
20
# File 'lib/photo_utils/tool.rb', line 19

def run
end

#usageObject



12
13
14
# File 'lib/photo_utils/tool.rb', line 12

def usage
  warn "#{$0} #{name} ..."
end