Class: PhotoUtils::Tool
- Inherits:
-
Object
show all
- Defined in:
- lib/photo_utils/tool.rb
Direct Known Subclasses
PhotoUtils::Tools::Blur, PhotoUtils::Tools::Brightness, PhotoUtils::Tools::CalcAperture, PhotoUtils::Tools::Cameras, PhotoUtils::Tools::ChartDOF, PhotoUtils::Tools::Compare, PhotoUtils::Tools::DOF, PhotoUtils::Tools::DOFTable, PhotoUtils::Tools::FilmTest, PhotoUtils::Tools::FocalLength, PhotoUtils::Tools::Reciprocity, PhotoUtils::Tools::Test
Instance Method Summary
collapse
Constructor Details
#initialize ⇒ Tool
Returns a new instance of Tool.
5
6
|
# File 'lib/photo_utils/tool.rb', line 5
def initialize
end
|
Instance Method Details
#description ⇒ Object
16
17
|
# File 'lib/photo_utils/tool.rb', line 16
def description
end
|
#name ⇒ Object
8
9
10
|
# File 'lib/photo_utils/tool.rb', line 8
def name
self.class.to_s.downcase
end
|
#run ⇒ Object
19
20
|
# File 'lib/photo_utils/tool.rb', line 19
def run
end
|
#usage ⇒ Object
12
13
14
|
# File 'lib/photo_utils/tool.rb', line 12
def usage
warn "#{$0} #{name} ..."
end
|